ToolWindowPane Constructor

Initializes an instance of this class.

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

Syntax

'宣言
Protected Sub New ( _
    provider As IServiceProvider _
)
'使用
Dim provider As IServiceProvider

Dim instance As New ToolWindowPane(provider)
protected ToolWindowPane(
    IServiceProvider provider
)
protected:
ToolWindowPane(
    IServiceProvider^ provider
)
protected function ToolWindowPane(
    provider : IServiceProvider
)

Parameters

  • provider
    Type: System.IServiceProvider

    The single constructor argument is a service provider the created window can use to obtain services. This parameter must not be a null reference (Nothing in Visual Basic), or else the tool window will not be able to add itself to the shell.

Permissions

See Also

Reference

ToolWindowPane Class

ToolWindowPane Members

Microsoft.VisualStudio.Shell Namespace