DriveIndex Property
Selects a drive.
Syntax
public int getDriveIndex(); public void setDriveIndex(int driveIndex);
Remarks
This property specifies the drive after calling ListDrives. Valid values are from 0 to DriveCount -1. After setting this property the following properties are populated:
- DriveId
- DriveType
- DriveOwnerId
- DriveOwnerName
- DriveDeletedSpace
- DriveRemainingSpace
- DriveState
- DriveTotalSpace
- DriveUsedSpace
This property is not available at design time.
Default Value
0