Condividi tramite


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

'Dichiarazione
Public Overridable Property DisableAskAQuestionDropdown As Boolean
    Get
    Set
'Utilizzo
Dim instance As CommandBarsClass
Dim value As Boolean

value = instance.DisableAskAQuestionDropdown

instance.DisableAskAQuestionDropdown = value
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: System.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

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace