Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StartupEventArgs Constructor (ReadOnlyCollection<String^>^)

 

Initializes a new instance of the StartupEventArgs class.

Namespace:   Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
StartupEventArgs(
	ReadOnlyCollection<String^>^ args
)

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft