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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.