| SwitchIsOn Property |
Gets a value that indicates if the switch is on.
Namespace: Microsoft.IoT.Devices.InputAssembly: Microsoft.IoT.Devices (in Microsoft.IoT.Devices.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool IsOn { get; }
Public ReadOnly Property IsOn As Boolean
Get
public:
virtual property bool IsOn {
bool get () sealed;
}
abstract IsOn : bool with get
override IsOn : bool with get
Property Value
Type:
BooleanImplements
ISwitchIsOnRemarks true if the switch is on; otherwise false.
See Also