MonikerKey.Equality(MonikerKey, MonikerKey) Operator

Definition

Compares two MonikerKeys based upon their ID to determine if they are equal. Overriding operator == to satisfy CA1036:OverrideMethodsOnComparableTypes

public:
 static bool operator ==(Microsoft::VisualStudio::Modeling::MonikerKey ^ monikerKey1, Microsoft::VisualStudio::Modeling::MonikerKey ^ monikerKey2);
public static bool operator == (Microsoft.VisualStudio.Modeling.MonikerKey monikerKey1, Microsoft.VisualStudio.Modeling.MonikerKey monikerKey2);
static member ( = ) : Microsoft.VisualStudio.Modeling.MonikerKey * Microsoft.VisualStudio.Modeling.MonikerKey -> bool
Public Shared Operator == (monikerKey1 As MonikerKey, monikerKey2 As MonikerKey) As Boolean

Parameters

monikerKey1
MonikerKey

MonikerKey being compared to

monikerKey2
MonikerKey

MonikerKey being compared against

Returns

Boolean that indicates if the two MonikerKeys are equal.

Applies to