Moniker.Equals Method (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.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
public override bool Equals(
Object obj
)
public:
virtual bool Equals(
Object^ obj
) override
abstract Equals :
obj:Object -> bool
override Equals :
obj:Object -> bool
public override function Equals(
obj : Object
) : boolean
obj
Type: System.ObjectMoniker being compared to
Type: System.Boolean
Boolean that indicates if the two Monikers are equal.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.