共用方式為


MonikerKey.Equals 方法 (MonikerKey)

傳回兩個 MonikerKey 物件是否相同。

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

語法

'宣告
Public Function Equals ( _
    monikerKey As MonikerKey _
) As Boolean
public bool Equals(
    MonikerKey monikerKey
)

參數

傳回值

類型:System.Boolean
如果 MonikerKey 相同,則為 true,否則為 false。

備註

這個方法會傳回 true ,則 CompareTo 會傳回 0,否則會傳回 false。

.NET Framework 安全性

請參閱

參考

MonikerKey 類別

Equals 多載

Microsoft.VisualStudio.Modeling 命名空間