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

Public Property Enabled As Boolean

Dim instance As OleCommandStatus
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
public function get Enabled () : boolean
public function set Enabled (value : boolean)

Property Value

Type: System.Boolean

Returns true if the command is enabled; otherwise returns false.

Permissions

See Also

Reference

OleCommandStatus Class

OleCommandStatus Members

Microsoft.VisualStudio.Data Namespace