Partilhar via


SmsDevice.GetDeviceSelector Método

Definição

Recupera a cadeia de caracteres de seleção de classe que pode ser usada para enumerar dispositivos SMS.

public:
 static Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
 static winrt::hstring GetDeviceSelector();
/// [Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
 static winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public static string GetDeviceSelector();
[Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Retornos

String

Platform::String

winrt::hstring

Uma referência a uma cadeia de caracteres AQS (Sintaxe de Consulta Avançada) que identifica um dispositivo SMS.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
cellularMessaging sms

Aplica-se a