共用方式為


PinValue.Implicit 運算子

定義

多載

Implicit(Boolean to PinValue)

從 bool 隱含轉換。 false 表示 Lowtrue means High

Implicit(Int32 to PinValue)

從 int 隱含轉換 0 表示 Low ,其他所有專案都表示 High

Implicit(Boolean to PinValue)

從 bool 隱含轉換。 false 表示 Lowtrue means High

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

參數

value
Boolean

要設定的值

傳回

適用於

Implicit(Int32 to PinValue)

從 int 隱含轉換 0 表示 Low ,其他所有專案都表示 High

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

參數

value
Int32

要設定的值

傳回

適用於