Moniker.Equality(Moniker, Moniker) Operator
Definition
Important
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.
Compares two Monikers based upon their ID to determine if they are equal. Overriding operator == to satisfy CA1036:OverrideMethodsOnComparableTypes
public:
static bool operator ==(Microsoft::VisualStudio::Modeling::Moniker ^ moniker1, Microsoft::VisualStudio::Modeling::Moniker ^ moniker2);
public static bool operator == (Microsoft.VisualStudio.Modeling.Moniker moniker1, Microsoft.VisualStudio.Modeling.Moniker moniker2);
static member ( = ) : Microsoft.VisualStudio.Modeling.Moniker * Microsoft.VisualStudio.Modeling.Moniker -> bool
Public Shared Operator == (moniker1 As Moniker, moniker2 As Moniker) As Boolean
Parameters
- moniker1
- Moniker
Moniker being compared to
- moniker2
- Moniker
Moniker being compared against
Returns
Boolean that indicates if the two Monikers are equal.