共用方式為


CommandSet(IServiceProvider) Constructor

Definition

Creates a new CommandSet

protected:
 CommandSet(IServiceProvider ^ serviceProvider);
protected CommandSet (IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.CommandSet : IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.CommandSet
Protected Sub New (serviceProvider As IServiceProvider)

Parameters

serviceProvider
IServiceProvider

Service provider used to retrieve Visual Studio services.

Applies to