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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla