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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public ReadOnly Property CommandService As IMenuCommandService
public IMenuCommandService CommandService { get; }
public:
property IMenuCommandService^ CommandService {
IMenuCommandService^ get ();
}
member CommandService : IMenuCommandService with get
function get CommandService () : IMenuCommandService
Property Value
Type: IMenuCommandService
IMenuCommandService.
.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.