共用方式為


CommandExtensionRegistrar.Compare 方法

這個成員會覆寫 ExtensionRegistrarBase<T, TMetadataView>.Compare(Tuple<T, TMetadataView>, Tuple<T, TMetadataView>)

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

語法

'宣告
Protected Overrides Function Compare ( _
    commandExtension1 As Tuple(Of ICommandExtension, IDictionary(Of String, Object)), _
    commandExtension2 As Tuple(Of ICommandExtension, IDictionary(Of String, Object)) _
) As Integer
protected override int Compare(
    Tuple<ICommandExtension, IDictionary<string, Object>> commandExtension1,
    Tuple<ICommandExtension, IDictionary<string, Object>> commandExtension2
)

參數

傳回值

類型:System.Int32

.NET Framework 安全性

請參閱

參考

CommandExtensionRegistrar 類別

Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement 命名空間