-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.LaunchActivatedEventArgs.Arguments |
winrt property |
Gets the arguments that are passed to the application during launch.
Always an empty string in desktop apps.
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