Bewerken

Share via


DriveInfo.ToString Method

Definition

Returns a drive name as a string.

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

Returns

The name of the drive.

Remarks

This method returns the Name property.

Applies to