Freigeben über


MonikerKey.Equals Method

Definition

Overloads

Equals(MonikerKey)

Compares two MonikerKeys

Equals(Object)

Compares this MonikerKey instance to the object passed as parameter. If the object is another MonikerKey, it compares them based upon their Name and ID to determine if they are equal. Omitting Equals violates rule: OverrideMethodsOnComparableTypes.

Equals(MonikerKey)

Compares two MonikerKeys

public:
 bool Equals(Microsoft::VisualStudio::Modeling::MonikerKey ^ monikerKey);
public bool Equals (Microsoft.VisualStudio.Modeling.MonikerKey monikerKey);
override this.Equals : Microsoft.VisualStudio.Modeling.MonikerKey -> bool
Public Function Equals (monikerKey As MonikerKey) As Boolean

Parameters

monikerKey
MonikerKey

MonikerKey being compared to

Returns

Boolean that indicates if the two MonikerKeys are equal.

Applies to

Equals(Object)

Compares this MonikerKey instance to the object passed as parameter. If the object is another MonikerKey, it compares them based upon their Name and ID to determine if they are equal. Omitting Equals violates rule: OverrideMethodsOnComparableTypes.

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

MonikerKey being compared to

Returns

Boolean that indicates if the two MonikerKeys are equal.

Applies to