Determines whether two object instances are equal.
'Declaration
Public Overrides Function Equals( _
ByVal As Object _
) As Boolean
'Usage
Dim instance As Line
Dim obj As Object
Dim value As Boolean
value = instance.Equals(obj)
public override bool Equals(
object
)
Parameters
- obj
- The object to compare with the current Line.
Return Value
This method returns true if obj is a Line object and it's Color and Style properties are equal to the corresponding properties of this Line structure; otherwise, false.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8