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 );
[C++] public: bool IsEqual ( IClone other );
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.
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