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.