II2cDeviceStatics.GetDeviceSelector メソッド

定義

オーバーロード

GetDeviceSelector()

システム上のすべての統合回線 (I2 C) バス コントローラーの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、それらのバス コントローラーの DeviceInformation オブジェクトを取得できます。

GetDeviceSelector(String)

指定したフレンドリ名を持つ統合間回線 (I2 C) バスの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、そのバスの DeviceInformation オブジェクトを取得できます。

GetDeviceSelector()

システム上のすべての統合回線 (I2 C) バス コントローラーの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、それらのバス コントローラーの DeviceInformation オブジェクトを取得できます。

public:
 Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public string GetDeviceSelector();
function getDeviceSelector()
Public Function GetDeviceSelector () As String

戻り値

String

Platform::String

winrt::hstring

システム上のすべての I2 C バス コントローラーの AQS 文字列。これらのバス コントローラーの DeviceInformation オブジェクトを取得するために DeviceInformation.FindAllAsync メソッドと共に使用できます。

属性

こちらもご覧ください

適用対象

GetDeviceSelector(String)

指定したフレンドリ名を持つ統合間回線 (I2 C) バスの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、そのバスの DeviceInformation オブジェクトを取得できます。

public:
 Platform::String ^ GetDeviceSelector(Platform::String ^ friendlyName);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromFriendlyName")]
winrt::hstring GetDeviceSelector(winrt::hstring const& friendlyName);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromFriendlyName")]
public string GetDeviceSelector(string friendlyName);
function getDeviceSelector(friendlyName)
Public Function GetDeviceSelector (friendlyName As String) As String

パラメーター

friendlyName
String

Platform::String

winrt::hstring

AQS 文字列を取得する特定のハードウェア プラットフォーム上の特定の I2 C バスのフレンドリ名。

戻り値

String

Platform::String

winrt::hstring

friendlyName が指定する I2 C バスの AQS 文字列。この文字列は、DeviceInformation.FindAllAsync メソッドと共に使用して、そのバスの DeviceInformation オブジェクトを取得できます。

属性

こちらもご覧ください

適用対象