共用方式為


ClearHistoryCommand.Id Property

Definition

Specifies the ID of a command in the session history.Clear history clears the entries wit the specified ID(s)

public:
 property cli::array <int> ^ Id { cli::array <int> ^ get(); void set(cli::array <int> ^ value); };
public:
 property Platform::Array <int> ^ Id { Platform::Array <int> ^ get(); void set(Platform::Array <int> ^ value); };
public int[] Id { get; set; }
[System.Management.Automation.Parameter(HelpMessage="Specifies the ID of a command in the session history.Clear history clears only the specified command", ParameterSetName="IDParameter", Position=0)]
[System.Management.Automation.ValidateRange(1, 2147483647)]
public int[] Id { get; set; }
member this.Id : int[] with get, set
[<System.Management.Automation.Parameter(HelpMessage="Specifies the ID of a command in the session history.Clear history clears only the specified command", ParameterSetName="IDParameter", Position=0)>]
[<System.Management.Automation.ValidateRange(1, 2147483647)>]
member this.Id : int[] with get, set
Public Property Id As Integer()

Property Value

Int32[]
Attributes

Applies to