ArcObjects Library Reference  (System)    

IClone.IsEqual Method

Returns TRUE when the receiver and other have the same properties.

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

Parameters

other [in]

  other is a parameter of type IClone

equal [out, retval]

  equal is a parameter of type VARIANT_BOOL

Product Availability

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

Description

IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.

[Visual Basic 6.0]
Dim pCloned as IClone 
Dim pSource as IClone 

Set pSource = New MarkerElement 
Set pCloned = pSource.Clone 

'+++ the following condition is TRUE 
If pSource.IsEqual(pCloned) Then 
MsgBox "Source equals to ClonedDestination" 
End If 

See Also

IClone Interface

 


Feedback Send feedback on this page