CommandSetLibrary Constructor
Creates a new CommandSetLibrary.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Protected Sub New ( _
serviceProvider As IServiceProvider _
)
protected CommandSetLibrary(
IServiceProvider serviceProvider
)
protected:
CommandSetLibrary(
IServiceProvider^ serviceProvider
)
new :
serviceProvider:IServiceProvider -> CommandSetLibrary
protected function CommandSetLibrary(
serviceProvider : IServiceProvider
)
Parameters
- serviceProvider
Type: System.IServiceProvider
Service provider used to retrieve 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.