Aracılığıyla paylaş


GetLocationCommand.PSDrive Property

Definition

Gets or sets the drive from which to get the current location.

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

Property Value

String[]
Attributes

Applies to