LampArray.GetDeviceSelector メソッド

定義

システム上のすべての LampArray デバイスを含む高度なクエリ構文 (AQS) 文字列を取得します。

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

戻り値

String

Platform::String

winrt::hstring

システム上のすべての LampArray デバイスを含む AQS 文字列。

LampArray サンプル

Windows.Devices.Lights API と Windows.Devices.Lights.Effects API を使用して周辺機器の RGB 照明を制御する方法を示します。

AutoRGB サンプル

デスクトップ画面から 1 つの代表的な色を抽出し、それを使用して、接続された RGB デバイス上の LED ランプを点灯させる方法を示します。

注釈

この文字列を DeviceInformation.FindAllAsync メソッドまたは DeviceWatcher と共に使用して、これらの LampArrays の DeviceInformation オブジェクトを取得できます。

適用対象

こちらもご覧ください