SpiController.GetControllersAsync(ISpiProvider) Method

Definition

Gets all the SPI controllers that are on the system.

public:
 static IAsyncOperation<IVectorView<SpiController ^> ^> ^ GetControllersAsync(ISpiProvider ^ provider);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<SpiController>> GetControllersAsync(ISpiProvider const& provider);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<SpiController>> GetControllersAsync(ISpiProvider provider);
function getControllersAsync(provider)
Public Shared Function GetControllersAsync (provider As ISpiProvider) As IAsyncOperation(Of IReadOnlyList(Of SpiController))

Parameters

provider
ISpiProvider

The SPI provider for the controllers on the system.

Returns

When the method completes successfully, it returns a list of values that represent the available SPI controllers on the system.

Attributes

Applies to