DriveCount Property
The number of drives available to the user.
Syntax
[VB.NET] Public ReadOnlyProperty DriveCount As Integer
[C#] public int DriveCount {get;}
Remarks
This property indicates the number of drives available to the user. This is populated after calling ListDrives. DriveIndex may be set to any value from 0 to DriveCount to select a drive.
This property is read-only and not available at design time.
Default Value
0