Dela via


ToolWindowPane Constructor (IServiceProvider)

Initializes an instance of this class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Sub New ( _
    provider As IServiceProvider _
)
protected ToolWindowPane(
    IServiceProvider provider
)
protected:
ToolWindowPane(
    IServiceProvider^ provider
)
new : 
        provider:IServiceProvider -> ToolWindowPane
protected function ToolWindowPane(
    provider : IServiceProvider
)

Parameters

  • provider
    Type: IServiceProvider

    The single constructor argument is a service provider that the created window can use to obtain services. This parameter must not be nulla null reference (Nothing in Visual Basic) because the tool window cannot add itself to the shell.

.NET Framework Security

See Also

Reference

ToolWindowPane Class

ToolWindowPane Overload

Microsoft.VisualStudio.Shell Namespace