Jaa


I2cDevice.GetDeviceSelector Method

Definition

Overloads

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)

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()

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:
 static Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
 static winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

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.

Attributes

See also

Applies to

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:
 static Platform::String ^ GetDeviceSelector(Platform::String ^ friendlyName);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromFriendlyName")]
 static winrt::hstring GetDeviceSelector(winrt::hstring const& friendlyName);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromFriendlyName")]
public static string GetDeviceSelector(string friendlyName);
function getDeviceSelector(friendlyName)
Public Shared Function GetDeviceSelector (friendlyName As String) As String

Parameters

friendlyName
String

Platform::String

winrt::hstring

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

Platform::String

winrt::hstring

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.

Attributes

See also

Applies to