Share via


GpioController.GetDefaultAsync Method

Definition

Gets the default general-purpose I/O (GPIO) controller for the system.

public:
 static IAsyncOperation<GpioController ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<GpioController> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<GpioController> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of GpioController)

Returns

The default GPIO controller for the system, or null if the system has no GPIO controller.

Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v2.0)

Applies to