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
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public Sub New ( _
sp As IServiceProvider, _
contained As Control _
)
public DialogContainerWithToolbar(
IServiceProvider sp,
Control contained
)
Parameters
- sp
Type: System.IServiceProvider
The service provider that the window can subsequently query to retrieve Visual Studio services.
- contained
Type: System.Windows.Forms.Control
The control that is contained by the form.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DialogContainerWithToolbar Class