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
'宣言
ReadOnly Property CommandBar As CommandBar
CommandBar CommandBar { get; }
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.