Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the command service that is used to check the status or execute the commands on the toolbar.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public ReadOnly Property CommandService As IMenuCommandService
Get
'Usage
Dim instance As DialogContainerWithToolbar
Dim value As IMenuCommandService
value = instance.CommandService
public IMenuCommandService CommandService { get; }
public:
property IMenuCommandService^ CommandService {
IMenuCommandService^ get ();
}
member CommandService : IMenuCommandService
function get CommandService () : IMenuCommandService
Property Value
Type: System.ComponentModel.Design.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.
See Also
Reference
DialogContainerWithToolbar Class