共用方式為


SelectStringCommand.Path Property

Definition

Gets or sets files to read from. Globbing is done on these.

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

Property Value

String[]
Attributes

Applies to