Freigeben über


Command.Add Methode

Definition

Überlädt

Name Beschreibung
Add(Argument)

Fügt dem Befehl einen Argument hinzu.

Add(Command)

Fügt dem Befehl einen Command hinzu.

Add(Option)

Fügt dem Befehl einen Option hinzu.

Add(Argument)

Quelle:
Command.cs
Quelle:
Command.cs
Quelle:
Command.cs

Fügt dem Befehl einen Argument hinzu.

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)

Parameter

argument
Argument

Die Option zum Hinzufügen zum Befehl.

Gilt für:

Add(Command)

Quelle:
Command.cs
Quelle:
Command.cs
Quelle:
Command.cs

Fügt dem Befehl einen Command hinzu.

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)

Parameter

command
Command

Der Befehl, der dem Befehl hinzugefügt werden soll.

Hinweise

Befehle können in eine beliebige Tiefe geschachtelt werden.

Gilt für:

Add(Option)

Quelle:
Command.cs
Quelle:
Command.cs
Quelle:
Command.cs

Fügt dem Befehl einen Option hinzu.

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)

Parameter

option
Option

Die Option zum Hinzufügen zum Befehl.

Gilt für: