Command(String, String) Constructeur
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.
Initialise une nouvelle instance de la classe Command.
public Command (string name, string? description = default);
new System.CommandLine.Command : string * string -> System.CommandLine.Command
Public Sub New (name As String, Optional description As String = Nothing)
Paramètres
- name
- String
Nom de la commande.
- description
- String
Description de la commande, indiquée dans l’aide.