Command.Add 메서드

정의

오버로드

Add(Argument)

명령에 를 Argument 추가합니다.

Add(Command)

명령에 하위 명령을 추가합니다.

Add(Option)

명령에 를 Option 추가합니다.

Add(Argument)

명령에 를 Argument 추가합니다.

public:
 void Add(System::CommandLine::Argument ^ argument);
public void Add (System.CommandLine.Argument argument);
member this.Add : System.CommandLine.Argument -> unit
Public Sub Add (argument As Argument)

매개 변수

argument
Argument

명령에 추가할 인수입니다.

적용 대상

Add(Command)

명령에 하위 명령을 추가합니다.

public:
 void Add(System::CommandLine::Command ^ command);
public void Add (System.CommandLine.Command command);
member this.Add : System.CommandLine.Command -> unit
Public Sub Add (command As Command)

매개 변수

command
Command

명령에 추가할 하위 명령입니다.

설명

명령은 임의의 깊이에 중첩될 수 있습니다.

적용 대상

Add(Option)

명령에 를 Option 추가합니다.

public:
 void Add(System::CommandLine::Option ^ option);
public void Add (System.CommandLine.Option option);
member this.Add : System.CommandLine.Option -> unit
Public Sub Add (option As Option)

매개 변수

option
Option

명령에 추가할 옵션입니다.

적용 대상