Compartir a través de


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

'Declaración
Public Property Enabled As Boolean
    Get
    Set
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