PinValuePair 结构

定义

引脚/值对的简单包装器。

public readonly struct PinValuePair
type PinValuePair = struct
Public Structure PinValuePair
继承
PinValuePair

构造函数

PinValuePair(Int32, PinValue)

初始化 PinValuePair 结构的新实例。

属性

PinNumber

引脚编号。

PinValue

引脚值。

方法

Deconstruct(Int32, PinValue)

为方便起见,解构函数。 允许使用 作为“返回元组”。

适用于