Partilhar via


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

'Declaração
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

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace