Compartilhar via


CommandBarPopup.CommandBar Property

Gets the command bar owned by this control.

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

Syntax

'Declaration
ReadOnly Property CommandBar As CommandBar
CommandBar CommandBar { get; }
property CommandBar^ CommandBar {
    CommandBar^ get ();
}
abstract CommandBar : CommandBar with get
function get CommandBar () : CommandBar

Property Value

Type: Microsoft.VisualStudio.CommandBars.CommandBar
The command bar owned by this control. If there is no existing command bar, this property creates one.

.NET Framework Security

See Also

Reference

CommandBarPopup Interface

Microsoft.VisualStudio.CommandBars Namespace