| SwitchOnValue Property |
Gets or sets the
GpioPinValue that indicates 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 GpioPinValue OnValue { get; set; }
Public Property OnValue As GpioPinValue
Get
Set
public:
virtual property GpioPinValue OnValue {
GpioPinValue get () sealed;
void set (GpioPinValue value) sealed;
}
abstract OnValue : GpioPinValue with get, set
override OnValue : GpioPinValue with get, set
Property Value
Type:
GpioPinValue
The
GpioPinValue that indicates the switch is on.
The default is
Low.
See Also