WebUIToastNotificationActivatedEventArgs.Argument Property

Definition

Gets the arguments that the app can retrieve after it is activated through an interactive toast notification.

public:
 property Platform::String ^ Argument { Platform::String ^ get(); };
winrt::hstring Argument();
public string Argument { get; }
var string = webUIToastNotificationActivatedEventArgs.argument;
Public ReadOnly Property Argument As String

Property Value

String

Platform::String

winrt::hstring

The arguments that the app can retrieve after it is activated through an interactive toast notification. The value of this property is defined previously in the XML that describes the data to deliver for the toast notification. The following elements and attributes of that XML define the value:

  • The arguments attribute of the action element, if the user performs an action inside the interactive toast notification.
  • The launch attribute of the toast element, if the user simply clicks the body of the toast notification.

Implements

Applies to