Freigeben über


PinValue.Explicit Operator

Definition

Überlädt

Explicit(PinValue to Boolean)

Konvertierung in Byte. Gibt true zurück auf High, false am Low

Explicit(PinValue to Byte)

Konvertierung in Byte. Gibt 1 für Highzurück, 0 am Low

Explicit(PinValue to Int32)

Konvertierung in int. Gibt 1 für Highzurück, 0 am Low

Explicit(PinValue to Boolean)

Konvertierung in Byte. Gibt true zurück auf High, false am 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

Parameter

value
PinValue

Zu konvertierende PinValue

Gibt zurück

Gilt für:

Explicit(PinValue to Byte)

Konvertierung in Byte. Gibt 1 für Highzurück, 0 am 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

Parameter

value
PinValue

Zu konvertierende PinValue

Gibt zurück

Gilt für:

Explicit(PinValue to Int32)

Konvertierung in int. Gibt 1 für Highzurück, 0 am 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

Parameter

value
PinValue

Zu konvertierende PinValue

Gibt zurück

Gilt für: