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.
Gets or sets the CommandID.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Property ToolBar As CommandID
Get
Set
'Usage
Dim instance As ToolWindowPane
Dim value As CommandID
value = instance.ToolBar
instance.ToolBar = value
public CommandID ToolBar { get; set; }
public:
property CommandID^ ToolBar {
CommandID^ get ();
void set (CommandID^ value);
}
member ToolBar : CommandID with get, set
function get ToolBar () : CommandID
function set ToolBar (value : CommandID)
Property Value
Type: System.ComponentModel.Design.CommandID
CommandID if the tool window has a toolbar; otherwise, nulla null reference (Nothing in Visual Basic).
Remarks
The value can be set only if Frame is nulla null reference (Nothing in Visual Basic).
.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.