GpioPin.IsDriveModeSupported(GpioPinDriveMode) 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.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for