Moniker.Equals Method
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.
Overloads
Equals(Moniker) |
Compares two Monikers based upon their ID to determine if they are equal |
Equals(Object) |
Compares this Moniker instance to the object passed as parameter. If the object is another Moniker, it compares them based upon their ID to determine if they are equal. Omitting Equals violates rule: OverrideMethodsOnComparableTypes. |
Equals(Moniker)
Compares two Monikers based upon their ID to determine if they are equal
public:
bool Equals(Microsoft::VisualStudio::Modeling::Moniker ^ moniker);
public bool Equals (Microsoft.VisualStudio.Modeling.Moniker moniker);
override this.Equals : Microsoft.VisualStudio.Modeling.Moniker -> bool
Public Function Equals (moniker As Moniker) As Boolean
Parameters
- moniker
- Moniker
Moniker being compared to
Returns
Boolean that indicates if the two Monikers are equal.
Applies to
Equals(Object)
Compares this Moniker instance to the object passed as parameter. If the object is another Moniker, it compares them based upon their 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
Moniker being compared to
Returns
Boolean that indicates if the two Monikers are equal.