다음을 통해 공유


GetRandomCommand.InputObject Property

Definition

List from which random elements are chosen.

public:
 property cli::array <System::Object ^> ^ InputObject { cli::array <System::Object ^> ^ get(); void set(cli::array <System::Object ^> ^ value); };
public:
 property Platform::Array <Platform::Object ^> ^ InputObject { Platform::Array <Platform::Object ^> ^ get(); void set(Platform::Array <Platform::Object ^> ^ value); };
public object[] InputObject { get; set; }
[System.Management.Automation.AllowNull]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RandomListItemParameterSet", 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)]
public object[] InputObject { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RandomListItemParameterSet", Position=0, ValueFromPipeline=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public object[] InputObject { get; set; }
member this.InputObject : obj[] with get, set
[<System.Management.Automation.AllowNull>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RandomListItemParameterSet", Position=0, ValueFromPipeline=true)>]
member this.InputObject : obj[] with 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
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RandomListItemParameterSet", Position=0, ValueFromPipeline=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.InputObject : obj[] with get, set
Public Property InputObject As Object()

Property Value

Object[]
Attributes

Applies to