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
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
- 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.