Compartir a través de


PinValue.Explicit Operador

Definición

Sobrecargas

Explicit(PinValue to Boolean)

Conversión a byte. Devuelve true en High, false en Low

Explicit(PinValue to Byte)

Conversión a byte. Devuelve 1 en High, 0 en Low

Explicit(PinValue to Int32)

Conversión a int. Devuelve 1 en High, 0 en Low

Explicit(PinValue to Boolean)

Conversión a byte. Devuelve true en High, false en Low

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

Parámetros

value
PinValue

PinValue para convertir

Devoluciones

Se aplica a

Explicit(PinValue to Byte)

Conversión a byte. Devuelve 1 en High, 0 en 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

Parámetros

value
PinValue

PinValue para convertir

Devoluciones

Se aplica a

Explicit(PinValue to Int32)

Conversión a int. Devuelve 1 en High, 0 en 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

Parámetros

value
PinValue

PinValue para convertir

Devoluciones

Se aplica a