MonikerKey.Equals Method (MonikerKey)
Returns whether or not two MonikerKey objects are identical.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Function Equals ( _
monikerKey As MonikerKey _
) As Boolean
public bool Equals(
MonikerKey monikerKey
)
public:
bool Equals(
MonikerKey^ monikerKey
)
member Equals :
monikerKey:MonikerKey -> bool
public function Equals(
monikerKey : MonikerKey
) : boolean
Parameters
- monikerKey
Type: Microsoft.VisualStudio.Modeling.MonikerKey
The MonikerKey to which this key is compared.
Return Value
Type: System.Boolean
true if the MonikerKeys are identical, otherwise false.
Remarks
This method returns true if CompareTo returns 0, otherwise it returns false.
.NET Framework Security
- 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.