Argument Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Argument() |
Initializes a new instance of the Argument class. |
Argument(String, String) |
Initializes a new instance of the Argument class. |
Argument()
- Source:
- Argument.cs
Initializes a new instance of the Argument class.
protected:
Argument();
public:
Argument();
protected Argument();
public Argument();
Protected Sub New ()
Public Sub New ()
Applies to
Argument(String, String)
- Source:
- Argument.cs
Initializes a new instance of the Argument class.
protected Argument(string? name = default, string? description = default);
public Argument(string? name = default, string? description = default);
new System.CommandLine.Argument : string * string -> System.CommandLine.Argument
Protected Sub New (Optional name As String = Nothing, Optional description As String = Nothing)
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing)
Parameters
- name
- String
The name of the argument.
- description
- String
The description of the argument, shown in help.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.