II2cDeviceStatics.GetDeviceSelector II2cDeviceStatics.GetDeviceSelector II2cDeviceStatics.GetDeviceSelector II2cDeviceStatics.GetDeviceSelector II2cDeviceStatics.GetDeviceSelector Method

Definition

Overloads

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Retrieves an Advanced Query Syntax (AQS) string for all of the inter-integrated circuit (I2 C) bus controllers on the system. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.

GetDeviceSelector(String) GetDeviceSelector(String) GetDeviceSelector(String) GetDeviceSelector(String) GetDeviceSelector(String)

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.

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Retrieves an Advanced Query Syntax (AQS) string for all of the inter-integrated circuit (I2 C) bus controllers on the system. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.

public : Platform::String GetDeviceSelector()
winrt::hstring GetDeviceSelector() const;
public string GetDeviceSelector()
Public Function GetDeviceSelector() As string
var string = iI2cDeviceStatics.getDeviceSelector();

Returns

string string string

An AQS string for all of the I2 C bus controllers on the system, which you can use with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.

See also

GetDeviceSelector(String) GetDeviceSelector(String) GetDeviceSelector(String) GetDeviceSelector(String) GetDeviceSelector(String)

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.

public : Platform::String GetDeviceSelector(Platform::String friendlyName)
winrt::hstring GetDeviceSelector(winrt::hstring friendlyName) const;
public string GetDeviceSelector(String friendlyName)
Public Function GetDeviceSelector(friendlyName As String) As string
var string = iI2cDeviceStatics.getDeviceSelector(friendlyName);

Parameters

friendlyName
String String String

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

Returns

string string string

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.

See also