Partager via


OleCommandStatus.Enabled Property

Retrieves or sets a value indicating whether this command is enabled.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

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

Property Value

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

.NET Framework Security

See Also

Reference

OleCommandStatus Class

Microsoft.VisualStudio.Data Namespace