Lamp.GetDeviceSelector Lamp.GetDeviceSelector Lamp.GetDeviceSelector Lamp.GetDeviceSelector Lamp.GetDeviceSelector Method

Definition

Returns the class selection string that you can use to enumerate lamp devices.

public : static Platform::String GetDeviceSelector()
static winrt::hstring GetDeviceSelector() const;
public static string GetDeviceSelector()
Public Shared Function GetDeviceSelector() As string
var string = Windows.Devices.Lights.Lamp.getDeviceSelector();

Returns

string string string

The class selection string for lamp devices.

Remarks

You can enumerate lamp devices by passing the class selection string returned by the GetDeviceSelector method to the FindAllAsync or CreateWatcher method.