Command.Add Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Add(Argument) |
Ajoute un Argument à la commande . |
Add(Command) |
Ajoute une sous-commande à la commande . |
Add(Option) |
Ajoute un Option à la commande . |
Add(Argument)
Ajoute un 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
Argument à ajouter à la commande.
S’applique à
Add(Command)
Ajoute une sous-commande à 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
Sous-commande à ajouter à la commande.
Remarques
Les commandes peuvent être imbriquées à une profondeur arbitraire.
S’applique à
Add(Option)
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour