共用方式為


RegisterArgumentCompleterCommand.CommandName Property

Definition

public:
 property cli::array <System::String ^> ^ CommandName { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ CommandName { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] CommandName { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="NativeSet")]
[System.Management.Automation.Parameter(ParameterSetName="PowerShellSet")]
public string[] CommandName { get; set; }
member this.CommandName : string[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="NativeSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="PowerShellSet")>]
member this.CommandName : string[] with get, set
Public Property CommandName As String()

Property Value

String[]
Attributes

Applies to