Descripción
Identifica si el objeto EntityDef contiene una acción con el nombre especificado.
Sintaxis
VBScript
entitydef.IsActionDefName name
Perl
$entitydef->IsActionDefName(name);
- Identificador
- Descripción
- entitydef
- Un objeto EntityDef que corresponde a un tipo de registro de un esquema.
- name
- Un valor String que contiene el nombre de la acción a verificar.
- Valor de retorno
- True, si el nombre es el de una acción real del objeto EntityDef y, de lo contrario, False.
Ejemplos
VBScript
set sessionObj = GetSession
set entityDefObj = sessionObj.GetEntityDef(GetEntityDefName())
If entityDefObj.IsActionDefName("open") Then
sessionObj.OutputDebugString "The record type supports the open action"
End If
Perl
$sessionObj = $entity->GetSession();
$entityDefObj = $sessionObj->GetEntityDef($entity->GetEntityDefName());
if ($entityDefObj->IsActionDefName("open"))
{
$sessionObj->OutputDebugString("The record type supports the open action");
}