Mega Code Archive

 
Categories / VB.Net / Development
 

Environment GetCommandLineArgs returns a string array containing the command-line arguments for the current process

Imports System Class Sample    Public Shared Sub Main()       Console.WriteLine()       Dim arguments As [String]() = Environment.GetCommandLineArgs()       Console.WriteLine("GetCommandLineArgs: {0}", [String].Join(", ", arguments))    End Sub 'Main End Class 'Sample