IToastNotificationActivatedEventArgs.Argument Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = iToastNotificationActivatedEventArgs.argument;
Public ReadOnly Property Argument As String
Property Value
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.