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 );
Parameters
other [in]
other is a parameter of type IClone
equal [out, retval]
equal is a parameter of type VARIANT_BOOL
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