Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.49 KB

i2cdevice_getdeviceselector_1752695616.md

File metadata and controls

27 lines (19 loc) · 1.49 KB
-api-id -api-type
M:Windows.Devices.I2c.I2cDevice.GetDeviceSelector(System.String)
winrt method

Windows.Devices.I2c.I2cDevice.GetDeviceSelector

-description

Retrieves an Advanced Query Syntax (AQS) string for the inter-integrated circuit (I2 C) bus that has the specified friendly name. You can use this string with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.

-parameters

-param friendlyName

A friendly name for the particular I2 C bus on a particular hardware platform for which you want to get the AQS string.

-returns

An AQS string for the I2 C bus that friendlyName specifies, which you can use with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.

-remarks

-examples

-see-also

GetDeviceSelector, DeviceInformation.FindAllAsync, I2cDevice.FromIdAsync, II2CDeviceStatics.GetDeviceSelector(String)