PinValue.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(Boolean to PinValue) |
Implicit conversion from bool. |
Implicit(Int32 to PinValue) |
Implicit conversion from int. 0 means Low, everything else means High. |
Implicit(Boolean to PinValue)
public static implicit operator System.Device.Gpio.PinValue (bool value);
static member op_Implicit : bool -> System.Device.Gpio.PinValue
Public Shared Widening Operator CType (value As Boolean) As PinValue
Parameters
- value
- Boolean
Value to set
Returns
Applies to
Implicit(Int32 to PinValue)
public static implicit operator System.Device.Gpio.PinValue (int value);
static member op_Implicit : int -> System.Device.Gpio.PinValue
Public Shared Widening Operator CType (value As Integer) As PinValue
Parameters
- value
- Int32
Value to set