GetEntityDefName

説明

このオブジェクトのテンプレートである EntityDef オブジェクトの名前を戻します。

対応する EntityDef オブジェクトを取得するには、Session オブジェクトの GetEntityDef メソッドを呼び出します。

EntityDef オブジェクトのメソッドを使用する前に、Entity のメソッドを参照して、そのいずれかが必要な情報を戻すかどうかを確認する必要があります。EntityDef オブジェクトで入手できる共通情報の一部は、Entity のメソッドから直接に取得することもできます。

構文

VBScript

entity.GetEntityDefName 

Perl

$entity->GetEntityDefName(); 
識別子
説明
entity
Entity オブジェクトは、ユーザー データ レコードを表します。構文のこの部分を省略すると、フック内では、現在のデータ レコードに対応する Entity オブジェクトが想定されます (VBScript のみ)。
戻り値
このオブジェクトの基本となっている EntityDef オブジェクトの名前を含む String。

VBScript

set sessionObj = GetSession 

' Get the EntityDef of the record using GetEntityDefName 
entityDefName = GetEntityDefName 
set entityDefObj = sessionObj.GetEntityDef(entityDefName) 

Perl

$sessionobj = $entity->GetSession();



# Get the EntityDef of the record using GetEntityDefName 



$entitydefname = $entity->GetEntityDefName();

$entitydefobj = $sessionobj->GetEntityDef($entitydefname); 

フィードバック