다음을 통해 공유


방법: 명령줄 인수 액세스(Visual Basic)

다음 코드 예제에서는 응용 프로그램의 명령줄 인수를 반복하여 검색합니다.

예제

For Each argument As String In My.Application.CommandLineArgs
    ' Add code here to use the argument.
Next

참고 항목

작업

방법: Window Forms 응용 프로그램의 일괄 처리 모드 사용(Visual Basic)

참조

CommandLineArgs

Visual Basic 프로그램의 구조