Export (0) Print
Expand All

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

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

PropertyAccess typeDescription

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 clientWindows Vista
Minimum supported serverWindows Server 2008
IDLSidebar.idl
DLLSidebar.Exe version 1.00 or later

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK

Community Additions

Show:
© 2014 Microsoft