Share via


PSDriveInfo.ToString Method

Definition

Gets the name of the drive as a string.

public:
 override System::String ^ ToString();
public:
 override Platform::String ^ ToString();
 override std::wstring ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

Returns a String that is that name of the drive.

Applies to