DriveInfo.ToString Method ()

 

Returns a drive name as a string.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

public override string ToString()

Return Value

Type: System.String

The name of the drive.

This method returns the Name property.

.NET Framework
Available since 2.0
Return to top
Show: