StartupEventArgs Constructor (ReadOnlyCollection<String^>^)
Initializes a new instance of the StartupEventArgs class.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Parameters
- args
-
Type:
System.Collections.ObjectModel::ReadOnlyCollection<String^>^
A ReadOnlyCollection<T> object that contains the command-line arguments of the application.
The Startup event occurs when the application starts, if the application implements the Visual Basic Application Model. For more information, see Overview of the Visual Basic Application Model.
StartupEventArgs contains the command-line arguments of the application and indicates whether the application startup should be canceled.
Available since 2.0