Command(String, String) 建構函式

定義

初始化 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)

參數

name
String

命令的名稱。

description
String

命令的描述,如說明所示。

適用於