Udostępnij za pośrednictwem


DriveManagementIntrinsics.Current Property

Definition

Gets the drive information for the current working drive.

public:
 property System::Management::Automation::PSDriveInfo ^ Current { System::Management::Automation::PSDriveInfo ^ get(); };
public System.Management.Automation.PSDriveInfo Current { get; }
member this.Current : System.Management.Automation.PSDriveInfo
Public ReadOnly Property Current As PSDriveInfo

Property Value

Remarks

This property is readonly. To set the current drive use the SetLocation method.

Applies to