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
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ