共用方式為


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

'宣告
Public Overridable Property DisableAskAQuestionDropdown As Boolean
public virtual bool DisableAskAQuestionDropdown { get; set; }

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

Microsoft.VisualStudio.CommandBars Namespace