IToastNotificationActivatedEventArgs.Argument IToastNotificationActivatedEventArgs.Argument IToastNotificationActivatedEventArgs.Argument IToastNotificationActivatedEventArgs.Argument IToastNotificationActivatedEventArgs.Argument Property

Definition

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

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

Property Value

string string string

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 element, if the user performs an action inside the interactive toast notification.
  • The launch attribute of the element, if the user simply clicks the body of the toast notification.

See also