Compartilhar via


ToolWindowPane.ToolBar Property

Gets or sets the CommandID.

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

Syntax

'Declaration
Public Property ToolBar As CommandID
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: 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

See Also

Reference

ToolWindowPane Class

Microsoft.VisualStudio.Shell Namespace