WindowsFormsApplicationBase.Run(String[]) 메서드

정의

Visual Basic 애플리케이션 모델을 설정하고 시작합니다.

public:
 void Run(cli::array <System::String ^> ^ commandLine);
public void Run(string[] commandLine);
member this.Run : string[] -> unit
Public Sub Run (commandLine As String())

매개 변수

commandLine
String[]

의 명령줄 Sub Main입니다.

설명

My.Application.Run 메서드는 Visual Basic 애플리케이션 모델을 지원합니다. 이 메서드는 애플리케이션 Sub Main에서만 호출해야 합니다. 기본적으로 Windows Forms 애플리케이션의 Sub Main 이 메서드를 호출합니다. 자세한 내용은 Visual Basic 애플리케이션 모델 개요를 참조하세요.

프로젝트 유형별 가용성

프로젝트 형식 사용 가능
Windows Forms 애플리케이션 Yes
클래스 라이브러리 No
콘솔 애플리케이션 No
Windows Forms 컨트롤 라이브러리 No
웹 제어 라이브러리 No
Windows 서비스 No
웹 사이트 No

적용 대상

추가 정보