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
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk