Aracılığıyla paylaş


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();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

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.

Applies to