CommandSet Constructor
Initializes a new instance of the CommandSet class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
serviceProvider As IServiceProvider _
)
protected CommandSet(
IServiceProvider serviceProvider
)
protected:
CommandSet(
IServiceProvider^ serviceProvider
)
new :
serviceProvider:IServiceProvider -> CommandSet
protected function CommandSet(
serviceProvider : IServiceProvider
)
Parameters
serviceProvider
Type: System.IServiceProviderThe service provider that retrieves Visual Studio services.
.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.