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
- commandExtension1
Type: Tuple<ICommandExtension, IDictionary<String, Object>>
- commandExtension2
Type: Tuple<ICommandExtension, IDictionary<String, Object>>
Return Value
Type: Int32
.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.
See Also
Reference
CommandExtensionRegistrar Class
Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement Namespace