Share via


SmsAppMessage.To Property

Definition

The telephone number of the recipient of this message.

public:
 property Platform::String ^ To { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring To();

void To(winrt::hstring value);
public string To { get; set; }
var string = smsAppMessage.to;
smsAppMessage.to = string;
Public Property To As String

Property Value

String

Platform::String

winrt::hstring

The telephone number of the recipient of this message.

Windows requirements

App capabilities
cellularMessaging sms

Applies to