Partager via


CommandBarsClass.AdaptiveMenus Property

Determines whether the set of controls is determined by usage.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Déclaration
Public Overridable Property AdaptiveMenus As Boolean
    Get
    Set
'Utilisation
Dim instance As CommandBarsClass
Dim value As Boolean

value = instance.AdaptiveMenus

instance.AdaptiveMenus = value
public virtual bool AdaptiveMenus { get; set; }
public:
virtual property bool AdaptiveMenus {
    bool get ();
    void set (bool value);
}
abstract AdaptiveMenus : bool with get, set
override AdaptiveMenus : bool with get, set
function get AdaptiveMenus () : boolean
function set AdaptiveMenus (value : boolean)

Property Value

Type: System.Boolean
Always returns false.

Implements

_CommandBars.AdaptiveMenus

Remarks

This property always returns false, and attempting to set this property to another value causes an exception to be thrown.

.NET Framework Security

See Also

Reference

CommandBarsClass Class

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace