Gets or sets a value to temporarily enables and disable the command execution.
public bool Enabled {get; set;}
'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As WorkstationCommand
Dim value As Boolean
instance.Enabled = value
value = instance.Enabled
public: __property bool get_Enabled();
public: __property void set_Enabled(
bool value
);
public:
property bool Enabled {
bool get();
void set ( bool value);
}
Property Value
true to enable the command to execute; otherwise, false to prevent the command from executing.