StartupEventArgs.Args 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 command line arguments that were passed to the application from either the command prompt or the desktop.
public:
property cli::array <System::String ^> ^ Args { cli::array <System::String ^> ^ get(); };
public string[] Args { get; }
member this.Args : string[]
Public ReadOnly Property Args As String()
Property Value
String[]
A string array that contains the command line arguments that were passed to the application from either the command prompt or the desktop. If no command line arguments were passed, the string array as zero items.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.