GetRandomCommandBase.InputObject Property

Definition

Gets or sets the list from which random elements are chosen.

[System.Management.Automation.AllowNull]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RandomListItemParameterSet", Position=0, ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ShuffleParameterSet", Position=0, ValueFromPipeline=true)]
public object[] InputObject { get; set; }
[<System.Management.Automation.AllowNull>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RandomListItemParameterSet", Position=0, ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ShuffleParameterSet", Position=0, ValueFromPipeline=true)>]
member this.InputObject : obj[] with get, set
Public Property InputObject As Object()

Property Value

Object[]
Attributes

Applies to