DialogContainerWithToolbar.CommandService Property

Returns the command service that is used to check the status or execute the commands on the toolbar.

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

Syntax

'宣言
Public ReadOnly Property CommandService As IMenuCommandService
'使用
Dim instance As DialogContainerWithToolbar
Dim value As IMenuCommandService

value = instance.CommandService
public IMenuCommandService CommandService { get; }
public:
property IMenuCommandService^ CommandService {
    IMenuCommandService^ get ();
}
public function get CommandService () : IMenuCommandService

Property Value

Type: System.ComponentModel.Design.IMenuCommandService

IMenuCommandService.

Permissions

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Members

Microsoft.VisualStudio.Shell Namespace