Command.Add Methode

Definitie

Overloads

Name Description
Add(Argument)

Hiermee voegt u een Argument aan de opdracht toe.

Add(Command)

Hiermee voegt u een Command aan de opdracht toe.

Add(Option)

Hiermee voegt u een Option aan de opdracht toe.

Add(Argument)

Bron:
Command.cs
Bron:
Command.cs
Bron:
Command.cs

Hiermee voegt u een Argument aan de opdracht toe.

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)

Parameters

argument
Argument

De optie om toe te voegen aan de opdracht.

Van toepassing op

Add(Command)

Bron:
Command.cs
Bron:
Command.cs
Bron:
Command.cs

Hiermee voegt u een Command aan de opdracht toe.

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)

Parameters

command
Command

De opdracht die u wilt toevoegen aan de opdracht.

Opmerkingen

Opdrachten kunnen worden genest naar een willekeurige diepte.

Van toepassing op

Add(Option)

Bron:
Command.cs
Bron:
Command.cs
Bron:
Command.cs

Hiermee voegt u een Option aan de opdracht toe.

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)

Parameters

option
Option

De optie om toe te voegen aan de opdracht.

Van toepassing op