Object. Equals(Object) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether two object instances are equal.
public: override bool Equals(System::Object ^ otherObj);
public override bool Equals (object otherObj);
override this.Equals : obj -> bool
Public Overrides Function Equals (otherObj As Object) As Boolean
The object to compare with the current object.
true indicates that the object instances are equal.
This method allows comparison of objects.