GetLocalFieldPathNames

설명

로컬 필드의 경로 이름을 리턴합니다.

리턴된 Variant의 각 문자열에는 단일 필드의 경로 이름이 포함됩니다. 참조 내에서 가져온 경우 이 이름은 "점으로 구분된 이름"(예: owner.login_name)일 수 있습니다.

구문

VBScript

entitydef.GetLocalFieldPathNames visible_only 

Perl

$entitydef->GetLocalFieldPathNames(visible_only); 
ID
설명
entitydef
스키마의 레코드 유형에 해당하는 EntityDef 오브젝트입니다.
visible_only
True인 경우 리턴되는 필드의 목록을 볼 수 있는 필드로 제한하는 부울입니다.
Return value
Visual Basic의 경우 리턴되는 문자열 목록이 포함된 Variant 값이 리턴됩니다. Perl의 경우 문자열 배열에 대한 참조가 리턴됩니다.

예제

VBScript

set sessionObj = GetSession 
set entityDefObj = sessionObj.GetEntityDef(GetEntityDefName())

pathNames = entityDefObj.GetLocalFieldPathNames(False)
For Each name in pathNames
   sessionObj.OutputDebugString "Path name: " & name
Next

Perl

$sessionobj = $entity->GetSession(); 



$entitydefobj = $sessionobj->GetEntityDef($entity->GetEntityDefName());



$pathnames = $entitydefobj->GetLocalFieldPathNames(0);



foreach $name (@$pathnames)
   {
 $sessionobj->OutputDebugString("Path name: ".$name);

 } 

피드백