GpioController.IsPinModeSupported(Int32, PinMode) Method

Definition

Checks if a pin supports a specific mode.

C#
public bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
C#
public virtual bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);

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.

Applies to

Product Versions
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0