Condividi tramite


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

'Dichiarazione
ReadOnly Property CommandBar As CommandBar
    Get
'Utilizzo
Dim instance As CommandBarPopup
Dim value As CommandBar

value = instance.CommandBar
CommandBar CommandBar { get; }
property CommandBar^ CommandBar {
    CommandBar^ get ();
}
abstract CommandBar : CommandBar
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

CommandBarPopup Members

Microsoft.VisualStudio.CommandBars Namespace