Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.
public enum class DriveType
public enum DriveType
[System.Runtime.InteropServices.ComVisible(true)] [System.Serializable] public enum DriveType
type DriveType =
[<System.Runtime.InteropServices.ComVisible(true)>] [<System.Serializable>] type DriveType =
Public Enum DriveType
The drive is an optical disc device, such as a CD or DVD-ROM.
The drive is a fixed disk.
The drive is a network drive.
The drive does not have a root directory.
The drive is a RAM disk.
The drive is a removable storage device, such as a USB flash drive.
The type of drive is unknown.