このメソッドは、直接の重複のみを戻します。重複の重複は戻しません。指定された Entity オブジェクトのすべての重複 (重複の重複を含む) を戻すには、GetAllDuplicates メソッドを呼び出します。
VBScript
entity.GetDuplicates
Perl
$entity->GetDuplicates();
VBScript
以下の例では、entity1 はオリジナルのオブジェクトです。オブジェクト entity2 と entity3 は、entity1 の重複です。さらに、オブジェクト entity4 は entity3 の重複です。次のステートメントを指定します。
linkObjs = entity1.GetDuplicates
linkObjs 変数は、2 つの 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(); }