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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.