Share via


Lamp.IsEnabled Property

Definition

Gets or sets a value indicating whether the lamp device is enabled.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = lamp.isEnabled;
lamp.isEnabled = boolean;
Public Property IsEnabled As Boolean

Property Value

Boolean

bool

True if the lamp is enabled; otherwise, false.

Applies to