LaunchActivatedEventArgs.Arguments Property

Definition

Gets the arguments that are passed to the application during launch.

public:
 property Platform::String ^ Arguments { Platform::String ^ get(); };
winrt::hstring Arguments();
public string Arguments { get; }
var string = launchActivatedEventArgs.arguments;
Public ReadOnly Property Arguments As String

Property Value

String

Platform::String

winrt::hstring

Always an empty string in desktop apps.

Remarks

Important

This property is not used and always returns an empty string.

You can retrieve command-line arguments for the current process by calling:

Applies to