Share via


ToastNotificationTriggerDetails.Text1 Property

Definition

Represents a text field that holds toast notification data.

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

public:
 property Platform::String ^ Text1 { Platform::String ^ get(); };
winrt::hstring Text1();
public string Text1 { get; }
var string = toastNotificationTriggerDetails.text1;
Public ReadOnly Property Text1 As String

Property Value

String

Platform::String

winrt::hstring

Toast notification text.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to