Share via


CommandExtensionRegistrar.Compare Method

This member overrides ExtensionRegistrarBase<T, TMetadataView>.Compare(Tuple<T, TMetadataView>, Tuple<T, TMetadataView>).

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

Syntax

'Declaration
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
)
protected:
virtual int Compare(
    Tuple<ICommandExtension^, IDictionary<String^, Object^>^>^ commandExtension1, 
    Tuple<ICommandExtension^, IDictionary<String^, Object^>^>^ commandExtension2
) override
abstract Compare : 
        commandExtension1:Tuple<ICommandExtension, IDictionary<string, Object>> * 
        commandExtension2:Tuple<ICommandExtension, IDictionary<string, Object>> -> int  
override Compare : 
        commandExtension1:Tuple<ICommandExtension, IDictionary<string, Object>> * 
        commandExtension2:Tuple<ICommandExtension, IDictionary<string, Object>> -> int
protected override function Compare(
    commandExtension1 : Tuple<ICommandExtension, IDictionary<String, Object>>, 
    commandExtension2 : Tuple<ICommandExtension, IDictionary<String, Object>>
) : int

Parameters

Return Value

Type: Int32

.NET Framework Security

See Also

Reference

CommandExtensionRegistrar Class

Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement Namespace