GpioController.GetPinMode(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取图钉的模式。
public System.Device.Gpio.PinMode GetPinMode(int pinNumber);
public virtual System.Device.Gpio.PinMode GetPinMode(int pinNumber);
member this.GetPinMode : int -> System.Device.Gpio.PinMode
abstract member GetPinMode : int -> System.Device.Gpio.PinMode
override this.GetPinMode : int -> System.Device.Gpio.PinMode
Public Function GetPinMode (pinNumber As Integer) As PinMode
Public Overridable Function GetPinMode (pinNumber As Integer) As PinMode
参数
- pinNumber
- Int32
控制器编号方案中的引脚编号。
返回
图钉的模式。