CommandExtensionRegistrar.Initialize(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual void Initialize(IServiceProvider ^ serviceProvider);
public virtual void Initialize (IServiceProvider serviceProvider);
abstract member Initialize : IServiceProvider -> unit
override this.Initialize : IServiceProvider -> unit
Public Overridable Sub Initialize (serviceProvider As IServiceProvider)
Parameters
- serviceProvider
- IServiceProvider
serviceProvider