SpiController.GetControllersAsync(ISpiProvider) 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 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