Partager via


CommandBarsClass.DisableAskAQuestionDropdown Property

Determines whether the AskAQuestion dropdown is disabled. Always returns true.

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

Syntax

'Declaration
Public Overridable Property DisableAskAQuestionDropdown As Boolean
public virtual bool DisableAskAQuestionDropdown { get; set; }
public:
virtual property bool DisableAskAQuestionDropdown {
    bool get ();
    void set (bool value);
}
abstract DisableAskAQuestionDropdown : bool with get, set 
override DisableAskAQuestionDropdown : bool with get, set
function get DisableAskAQuestionDropdown () : boolean 
function set DisableAskAQuestionDropdown (value : boolean)

Property Value

Type: Boolean
Always returns true.

Implements

_CommandBars.DisableAskAQuestionDropdown

Remarks

Notes to Inheritors

Visual Studio does not support this feature, so this property should always return true. Attempting to set this property with any other value should cause an exception to be thrown.

.NET Framework Security

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace