System.Shell.Drive Object

Defines the properties used to expose system storage device characteristics.

Members

The System.Shell.Drive object defines the following members:

  • Properties

Properties

The System.Shell.Drive object defines the following properties.

Property Access type Description

driveFormat

Read-only

Gets whether the system storage device is formatted with NTFS or FAT32 permissions.

driveLetter

Read-only

Gets the system storage device drive letter.

driveType

Read-only

Gets the system storage device type.

freeSpace

Read-only

Gets the amount of free space, in megabytes (MB), on the system storage device.

isReady

Read-only

Gets whether the system storage device is ready.

rootDirectory

Read-only

Gets the UNC path to the root folder of a system storage device.

totalFreeSpace

Read-only

Gets the total amount of free space, in MB, on the system storage device.

totalSize

Read-only

Gets the total capacity, in MB, of the system storage device without regard to partition configuration information.

volumeLabel

Read/write

Gets or sets the volume label of the system storage device.

 

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.00 or later

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK