Constructors: NewDriveInfo

NewDriveInfo

Initializes a new DriveInfo object used to inspect a drives information.



 Public Function NewDriveInfo(
	  ByRef Name As String ) As DriveInfo

Parameters

Name
[ByRef] String. A valid drive path or drive letter. This can be either uppercase or lowercase, a' to 'z'.

Return Values

DriveInfo -  A DriveInfo object representing the specified drive.

Remarks

Use this class to obtain information on drives. The drive name must be either an uppercase or lowercase letter from a' to 'z'. You cannot use this method to obtain information on drive names that are null or use UNC (\\server\share) paths.

See Also

Project CorLib Overview

Class Constructors Overview