Udostępnij za pośrednictwem


ProximitySensor.GetDeviceSelector Method

Definition

Gets the device selector.

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

Returns the device selector. If no device selector is available, this method returns null.

Applies to