共用方式為


_CommandBars.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

'宣告
Property DisableAskAQuestionDropdown As Boolean
bool DisableAskAQuestionDropdown { get; set; }

Property Value

Type: System.Boolean
Always returns true.

Remarks

Attempting to set this property with any other value will cause an exception to be thrown.

.NET Framework Security

See Also

Reference

_CommandBars Interface

Microsoft.VisualStudio.CommandBars Namespace