Share via


HostApplicationBuilderSettings.Args 属性

定义

获取或设置命令行参数。 如果 DisableDefaultstrue,则不使用参数。

public:
 property cli::array <System::String ^> ^ Args { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[]? Args { get; set; }
member this.Args : string[] with get, set
Public Property Args As String()

属性值

String[]

适用于