Edit

Share via


InstanceKey.Equals(Object) Method

Definition

Compares the GUID associated with the current object (stored in the Value property) with the GUID associated with the InstanceKey object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

An InstanceKey object that needs to be compared with the current object. Must not be null.

Returns

true if the objects are same; otherwise returns false.

Applies to