共用方式為


ToolWindowPane Constructor (IServiceProvider)

Initializes an instance of this class.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.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
)
new : 
        provider:IServiceProvider -> ToolWindowPane
protected function ToolWindowPane(
    provider : IServiceProvider
)

Parameters

  • provider
    Type: System.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 Members

ToolWindowPane Overload

Microsoft.VisualStudio.Shell Namespace