Command.Add Metoda

Definicja

Przeciążenia

Add(Argument)

Dodaje element Argument do polecenia .

Add(Command)

Dodaje podpolecenia do polecenia .

Add(Option)

Dodaje element Option do polecenia .

Add(Argument)

Dodaje element Argument do polecenia .

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)

Parametry

argument
Argument

Argument do dodania do polecenia .

Dotyczy

Add(Command)

Dodaje podpolecenia do polecenia .

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)

Parametry

command
Command

Podpolecenia, aby dodać do polecenia .

Uwagi

Polecenia można zagnieżdżać do dowolnej głębokości.

Dotyczy

Add(Option)

Dodaje element Option do polecenia .

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)

Parametry

option
Option

Opcja dodania do polecenia .

Dotyczy