다음을 통해 공유


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