해당 오브젝트의 즉각적 중복에 대한 링크를 리턴합니다.
이 메소드는 즉각적 중복만 리턴합니다. 중복의 중복은 리턴하지 않습니다. 중복의 중복을 비롯하여 제공된 Entity 오브젝트의 모든 중복을 리턴하려면 GetAllDuplicates 메소드를 호출하십시오.
VBScript
entity.GetDuplicates
Perl
$entity->GetDuplicates();
VBScript
다음 예제에서는 entity1가 원본 오브젝트입니다. entity2 및 entity3 오브젝트는 entity1의 중복입니다. 또한 entity4 오브젝트는 entity3의 중복입니다. 예를 들어, 다음과 같은 명령문이 있습니다.
linkObjs = entity1.GetDuplicates
linkObjs 변수는 다음과 같은 두 개의 Link 오브젝트 목록입니다.
Perl
$dups = $entity->GetDuplicates(); # Find out how many duplicates there # are so the for loop can iterate them $numdups = $dups->Count(); for ($x = 0; $x < $numdups ; $x++) { $dupvar = $dups->Item($x); $childentity = $dupvar->GetChildEntity(); }