Megosztás a következőn keresztül:


SmsTextMessage2.Body Property

Definition

Gets or sets the body of the text message.

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

void Body(winrt::hstring value);
public string Body { get; set; }
var string = smsTextMessage2.body;
smsTextMessage2.body = string;
Public Property Body As String

Property Value

String

Platform::String

winrt::hstring

The plain text body of the message, as a string.

Windows requirements

App capabilities
cellularMessaging sms

Applies to