Command.Add Méthode

Définition

Surcharges

Nom Description
Add(Argument)

Ajoute une Argument à la commande.

Add(Command)

Ajoute une Command à la commande.

Add(Option)

Ajoute une Option commande.

Add(Argument)

Source:
Command.cs
Source:
Command.cs
Source:
Command.cs

Ajoute une Argument à la commande.

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)

Paramètres

argument
Argument

Option à ajouter à la commande.

S’applique à

Add(Command)

Source:
Command.cs
Source:
Command.cs
Source:
Command.cs

Ajoute une Command à la commande.

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)

Paramètres

command
Command

Commande à ajouter à la commande.

Remarques

Les commandes peuvent être imbriquées à une profondeur arbitraire.

S’applique à

Add(Option)

Source:
Command.cs
Source:
Command.cs
Source:
Command.cs

Ajoute une Option commande.

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)

Paramètres

option
Option

Option à ajouter à la commande.

S’applique à