Editare

Partajați prin


StartupEventArgs.Args Property

Definition

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