שפה

Argument Constructors

Definition

Overloads

Name Description
Argument()
Argument(String)

Initializes a new instance of the Argument class.

Argument()

Source:
Argument.cs
public:
 Argument();
public Argument();
Public Sub New ()

Applies to

Argument(String)

Source:
Argument.cs
Source:
Argument.cs

Initializes a new instance of the Argument class.

protected:
 Argument(System::String ^ name);
public:
 Argument(System::String ^ name);
protected Argument(string name);
public Argument(string name);
new System.CommandLine.Argument : string -> System.CommandLine.Argument
Protected Sub New (name As String)
Public Sub New (name As String)

Parameters

name
String

The name of the argument. This can be used to look up the parsed value and is displayed in help

Applies to