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 );
[C++] public: bool IsIdentical ( IClone other );
IsIdentical returns true if the receiver and the source reference the same object.
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