Partager via


PinValue.Explicit Opérateur

Définition

Surcharges

Explicit(PinValue to Boolean)

Conversion en octet. Retourne true le High, false le Low

Explicit(PinValue to Byte)

Conversion en octet. Retourne 1 sur High, 0 sur Low

Explicit(PinValue to Int32)

Conversion en int. Retourne 1 sur High, 0 sur Low

Explicit(PinValue to Boolean)

Conversion en octet. Retourne true le High, false le 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

Paramètres

value
PinValue

PinValue à convertir

Retours

S’applique à

Explicit(PinValue to Byte)

Conversion en octet. Retourne 1 sur High, 0 sur 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

Paramètres

value
PinValue

PinValue à convertir

Retours

S’applique à

Explicit(PinValue to Int32)

Conversion en int. Retourne 1 sur High, 0 sur 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

Paramètres

value
PinValue

PinValue à convertir

Retours

S’applique à