共用方式為


CommandStatus.Enabled Property

Gets a value that indicates whether the associated command is enabled.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'宣告
Public Property Enabled As Boolean
public bool Enabled { get; internal set; }
public:
property bool Enabled {
    bool get ();
    internal: void set (bool value);
}
member Enabled : bool with get, internal set
function get Enabled () : boolean
internal function set Enabled (value : boolean)

Property Value

Type: System.Boolean
true if the command is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

CommandStatus Class

Microsoft.VisualStudio.TestTools.Vsip Namespace