次の方法で共有


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

'宣言
Public Overridable ReadOnly Property ActiveMenuBar As CommandBar
public virtual CommandBar ActiveMenuBar { get; }

Property Value

Type: Microsoft.VisualStudio.CommandBars.CommandBar
The CommandBar that is currently active.

Implements

_CommandBars.ActiveMenuBar

.NET Framework Security

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace