DialogContainerWithToolbar Constructor (IServiceProvider, Control, IOleCommandTarget)

Initializes a new instance DialogContainerWithToolbar with its contained control, and an IOleCommandTarget implementation that is in addition to the one owned by the OleMenuCommandService.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    sp As IServiceProvider, _
    contained As Control, _
    parentCommandTarget As IOleCommandTarget _
)
public DialogContainerWithToolbar(
    IServiceProvider sp,
    Control contained,
    IOleCommandTarget parentCommandTarget
)
public:
DialogContainerWithToolbar(
    IServiceProvider^ sp, 
    Control^ contained, 
    IOleCommandTarget^ parentCommandTarget
)
new : 
        sp:IServiceProvider * 
        contained:Control * 
        parentCommandTarget:IOleCommandTarget -> DialogContainerWithToolbar
public function DialogContainerWithToolbar(
    sp : IServiceProvider, 
    contained : Control, 
    parentCommandTarget : IOleCommandTarget
)

Parameters

Remarks

The DialogContainerWithToolbar command target implementation uses the additional command target to search command handlers when they are not found in its collection of handlers.

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Overload

Microsoft.VisualStudio.Shell Namespace