StartupEventArgs(ReadOnlyCollection<String>) 생성자

정의

StartupEventArgs 클래스의 새 인스턴스를 초기화합니다.

public:
 StartupEventArgs(System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ args);
public StartupEventArgs(System.Collections.ObjectModel.ReadOnlyCollection<string> args);
new Microsoft.VisualBasic.ApplicationServices.StartupEventArgs : System.Collections.ObjectModel.ReadOnlyCollection<string> -> Microsoft.VisualBasic.ApplicationServices.StartupEventArgs
Public Sub New (args As ReadOnlyCollection(Of String))

매개 변수

args
ReadOnlyCollection<String>

ReadOnlyCollection<T> 애플리케이션의 명령줄 인수를 포함하는 개체입니다.

설명

애플리케이션이 Visual Basic 애플리케이션 모델을 구현하는 경우 애플리케이션이 시작될 때 Startup 이벤트가 발생합니다. 자세한 내용은 Visual Basic 애플리케이션 모델 개요를 참조하세요.

StartupEventArgs 는 애플리케이션의 명령줄 인수를 포함하고 애플리케이션 시작을 취소해야 하는지 여부를 나타냅니다.

적용 대상

추가 정보