Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

System.Shell.Drive object

[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

Defines the properties used to expose system storage device characteristics.

Members

The System.Shell.Drive object has these types of members:

Properties

The System.Shell.Drive object has these 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 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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows 7

End of server support

Windows Server 2008

IDL

Sidebar.idl

DLL

Sidebar.Exe (version 1.00 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.