Initializes a new instance of the class and sets the service provider.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
sp As IServiceProvider _
)
'使用
Dim sp As IServiceProvider
Dim instance As New DialogContainerWithToolbar(sp)
public DialogContainerWithToolbar(
IServiceProvider sp
)
public:
DialogContainerWithToolbar(
IServiceProvider^ sp
)
public function DialogContainerWithToolbar(
sp : IServiceProvider
)
Parameters
sp
Type: System.IServiceProviderThe service provider that the window can subsequently query to retrieve Visual Studio services.
Permissions
- 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
DialogContainerWithToolbar Members