Partager via


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

'Déclaration
Public ReadOnly Property Enabled As Boolean
    Get
public bool Enabled { get; }
public:
property bool Enabled {
    bool get ();
}
member Enabled : bool
function get Enabled () : 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