System Namespace Enum Class
Returns a value indicating whether this instance is equal to a specified object.
[ VB ]
<Serializable>
Overrides Public Function Equals ( _
ByVal obj As Object _
) As Boolean
[ C# ]
[Serializable]
public override bool Equals (
object obj
);
[ C++ ]
[Serializable]
public: bool Equals (
Object* obj
);
[JScript ]
public Serializable
override function Equals (
obj : Object
) : Boolean;
- obj
- An object to compare with this instance, or a null reference ( Nothing in Visual Basic ).
true if obj is an Enum with the same underlying type and value as this instance; otherwise, false.
Enum Members CompareTo