Partager via


DialogContainerWithToolbar Constructor (IServiceProvider, Control)

Initializes a new instance of the class and sets the service provider and the control that is contained by the form.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Public Sub New ( _
    sp As IServiceProvider, _
    contained As Control _
)
'Utilisation
Dim sp As IServiceProvider
Dim contained As Control

Dim instance As New DialogContainerWithToolbar(sp, contained)
public DialogContainerWithToolbar(
    IServiceProvider sp,
    Control contained
)
public:
DialogContainerWithToolbar(
    IServiceProvider^ sp, 
    Control^ contained
)
new : 
        sp:IServiceProvider * 
        contained:Control -> DialogContainerWithToolbar
public function DialogContainerWithToolbar(
    sp : IServiceProvider, 
    contained : Control
)

Parameters

  • sp
    Type: System.IServiceProvider
    The service provider that the window can subsequently query to retrieve Visual Studio services.

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Members

DialogContainerWithToolbar Overload

Microsoft.VisualStudio.Shell Namespace