PinValue.Implicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Implicit(Boolean to PinValue)
從 bool 隱含轉換。 false
表示 Low , true
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
參數
傳回
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
參數
傳回