PinValue.Explicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Explicit(PinValue to Boolean) | |
Explicit(PinValue to Byte) | |
Explicit(PinValue to Int32) |
Explicit(PinValue to Boolean)
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
Parameters
- value
- PinValue
PinValue to convert
Returns
Applies to
Explicit(PinValue to Byte)
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
Parameters
- value
- PinValue
PinValue to convert
Returns
Applies to
Explicit(PinValue to Int32)
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
Parameters
- value
- PinValue
PinValue to convert
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for