Share via


SmsDevice2.GetDeviceSelector Method

Definition

Retrieves the class selection string that can be used to enumerate SMS 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

A reference to an Advanced Query Syntax (AQS) string that identifies an SMS device.

Windows requirements

App capabilities
cellularMessaging sms

Applies to