GpioController.IsPinModeSupported(Int32, PinMode) Method
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.
Checks if a pin supports a specific mode.
public bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
public virtual bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
member this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
abstract member IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
override this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
Public Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean
Public Overridable Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean
Parameters
- pinNumber
- Int32
The pin number in the controller's numbering scheme.
- mode
- PinMode
The mode to check.
Returns
The status if the pin supports the mode.