LaunchActivatedEventArgs.Arguments Property

Gets the arguments that are passed to the app during its launch activation.

Syntax

public:
property String^ Arguments {
         String^ get ();
}  

Property value

Type: String 

  The list of arguments.

Remarks

These arguments provide additional context for this activation. Similar to command-line arguments, this string can be parsed by an app to determine what action it should take in response to this activation.

Caution

An app should always regard the arguments string as untrusted data and must parse and validate the string carefully before taking action based on its contents. Blindly using the arguments string without examining it first can present a security risk.

Requirements

Namespace: Windows.ApplicationModel.Activation

Metadata: windows.winmd

See also

Reference

LaunchActivatedEventArgs Class

LaunchActivatedEventArgs Members

Windows.ApplicationModel.Activation Namespace