SmsBroadcastMessage.To Property

Definition

Gets the recipient phone number of the broadcast SMS message.

public:
 property Platform::String ^ To { Platform::String ^ get(); };
winrt::hstring To();
public string To { get; }
var string = smsBroadcastMessage.to;
Public ReadOnly Property To As String

Property Value

String

Platform::String

winrt::hstring

A string representation of the phone number, formatted in the phone number format favored by the device and the network that the device is registered on.

Windows requirements

App capabilities
cellularMessaging sms

Applies to