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
Get
Set
'用途
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.