ArcObjects Library Reference  (System)    

IClone.IsIdentical Method

Returns TRUE when the receiver and other are the same object.

[Visual Basic 6.0]
Function IsIdentical(
    ByVal other As IClone _
) As Boolean
[Visual Basic .NET]
Public Function IsIdentical ( _
    ByVal other As IClone _
) As Boolean
[C#]
public bool IsIdentical (
    IClone other
);
[Java]
public Boolean isIdentical (
    IClone other
)
throws
    IOException,
    AutomationException
[C++]
HRESULT IsIdentical(
  IClone* other,
  VARIANT_BOOL* identical
);
[C++]

Parameters

other [in]

  other is a parameter of type IClone

identical [out, retval]

  identical is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IsIdentical returns true if the receiver and the source reference the same object.

[Visual Basic 6.0]
Dim pSource As IClone 
Set pSource = New MarkerElement 

Dim pIdentical As IClone 
Set pIdentical = pSource 

'+++ the following condition is TRUE 
If pSource.IsIdentical(pIdentical) Then 
  MsgBox "Source is identical to pIdentical" 
End If 

See Also

IClone Interface

 


Feedback Send feedback on this page