CommandExtensionRegistrar Class

 

Base class for an ExtensionRegistar that can register ContextMenu command extensions

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


public ref class CommandExtensionRegistrar abstract : ExtensionRegistrar<ICommandExtension^, IDictionary<String^, Object^>^>

NameDescription
System_CAPS_protmethodCanImport(Lazy<ICommandExtension^, IDictionary<String^, Object^>^>^)

Allow registrars that match the metadatafilter with a key in their metadata to be imported(Overrides ExtensionRegistrarBase<T, TMetadataView>::CanImport(Lazy<T, TMetadataView>^).)

System_CAPS_protmethodCompare(Tuple<ICommandExtension^, IDictionary<String^, Object^>^>^, Tuple<ICommandExtension^, IDictionary<String^, Object^>^>^)
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize(IServiceProvider^)

Assigns a unique commandId to each imported command extension and registers the command with the MenuService. Only commandExtensions whose metadata match the MetadataFilter are registered.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: