Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 703 Bytes

launchactivatedeventargs_arguments.md

File metadata and controls

32 lines (20 loc) · 703 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.LaunchActivatedEventArgs.Arguments
winrt property

Microsoft.UI.Xaml.LaunchActivatedEventArgs.Arguments

-description

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

-property-value

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:

  • [C#] xref:System.Environment.GetCommandLineArgs?displayProperty=nameWithType (requires full trust to execute)
  • [C++] xref:NF:processenv.GetCommandLineA

-see-also

-examples