次の方法で共有


PinValue.Explicit 演算子

定義

オーバーロード

Explicit(PinValue to Boolean)

byte への変換。 の を返しますtrueHighfalseLow

Explicit(PinValue to Byte)

byte への変換。 で 1 を返し、 High0 を返します。 Low

Explicit(PinValue to Int32)

int への変換。で 1 を返し、 High0 を返します。 Low

Explicit(PinValue to Boolean)

byte への変換。 の を返しますtrueHighfalseLow

public static explicit operator bool (System.Device.Gpio.PinValue value);
static member op_Explicit : System.Device.Gpio.PinValue -> bool
Public Shared Narrowing Operator CType (value As PinValue) As Boolean

パラメーター

value
PinValue

変換する PinValue

戻り値

適用対象

Explicit(PinValue to Byte)

byte への変換。 で 1 を返し、 High0 を返します。 Low

public static explicit operator byte (System.Device.Gpio.PinValue value);
static member op_Explicit : System.Device.Gpio.PinValue -> byte
Public Shared Narrowing Operator CType (value As PinValue) As Byte

パラメーター

value
PinValue

変換する PinValue

戻り値

適用対象

Explicit(PinValue to Int32)

int への変換。で 1 を返し、 High0 を返します。 Low

public static explicit operator int (System.Device.Gpio.PinValue value);
static member op_Explicit : System.Device.Gpio.PinValue -> int
Public Shared Narrowing Operator CType (value As PinValue) As Integer

パラメーター

value
PinValue

変換する PinValue

戻り値

適用対象