I2cController.GetControllersAsync(II2cProvider) 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 I2 C controllers that are on the system.
public:
static IAsyncOperation<IVectorView<I2cController ^> ^> ^ GetControllersAsync(II2cProvider ^ provider);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<IVectorView<I2cController>> GetControllersAsync(II2cProvider const& provider);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<I2cController>> GetControllersAsync(II2cProvider provider);
function getControllersAsync(provider)
Public Shared Function GetControllersAsync (provider As II2cProvider) As IAsyncOperation(Of IReadOnlyList(Of I2cController))
Parameters
- provider
- II2cProvider
The I2 C provider for the controllers on the system.
Returns
When the method completes successfully, it returns a list of values that represent the available I2 C controllers on the system.
- Attributes