Share via


MonikerKey.Equals Method (MonikerKey)

Returns whether or not two MonikerKey objects are identical.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
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

Return Value

Type: 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

See Also

Reference

MonikerKey Class

Equals Overload

Microsoft.VisualStudio.Modeling Namespace