Jaa


GpioPin.IsDriveModeSupported(GpioPinDriveMode) Method

Definition

Gets whether the general-purpose I/O (GPIO) pin supports the specified drive mode.

public:
 virtual bool IsDriveModeSupported(GpioPinDriveMode driveMode) = IsDriveModeSupported;
bool IsDriveModeSupported(GpioPinDriveMode const& driveMode);
public bool IsDriveModeSupported(GpioPinDriveMode driveMode);
function isDriveModeSupported(driveMode)
Public Function IsDriveModeSupported (driveMode As GpioPinDriveMode) As Boolean

Parameters

driveMode
GpioPinDriveMode

The drive mode that you want to check for support.

Returns

Boolean

bool

True if the GPIO pin supports the drive mode that driveMode specifies; otherwise false. If you specify a drive mode for which this method returns false when you call SetDriveMode, SetDriveMode generates an exception.

Windows requirements

App capabilities
lowLevel

Applies to

See also