CommandBarsClass.ActiveMenuBar Property
Gets the menu bar that is currently active.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property ActiveMenuBar As CommandBar
public virtual CommandBar ActiveMenuBar { get; }
public:
virtual property CommandBar^ ActiveMenuBar {
CommandBar^ get ();
}
abstract ActiveMenuBar : CommandBar with get
override ActiveMenuBar : CommandBar with get
function get ActiveMenuBar () : CommandBar
Property Value
Type: Microsoft.VisualStudio.CommandBars.CommandBar
The CommandBar that is currently active.
Implements
.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.