Share via


ToastNotificationTriggerDetails.Text2 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 ^ Text2 { Platform::String ^ get(); };
winrt::hstring Text2();
public string Text2 { get; }
var string = toastNotificationTriggerDetails.text2;
Public ReadOnly Property Text2 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