ModelingWindowPane Constructor
Initializes a new instance of the ModelingWindowPane class with the specified IServiceProvider.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣告
Protected Sub New ( _
serviceProvider As IServiceProvider _
)
protected ModelingWindowPane(
IServiceProvider serviceProvider
)
protected:
ModelingWindowPane(
IServiceProvider^ serviceProvider
)
new :
serviceProvider:IServiceProvider -> ModelingWindowPane
protected function ModelingWindowPane(
serviceProvider : IServiceProvider
)
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider that is local to this window frame. This service provider retrieves Visual Studio selection services.
Remarks
The constructor chains the local menu service to the global menu service, so that it can pass to the global menu service the commands the local menu service cannot handle.
.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.