Click or drag to resize

Volume Class

[This is preliminary documentation and is subject to change.]

A volume device.
Inheritance Hierarchy

Namespace:  UsbEject
Assembly:  UsbEject (in UsbEject.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
public sealed class Volume : Device, 
	IComparable

The Volume type exposes the following members.

Properties
  NameDescription
Public propertyCapabilities
Gets the device's capabilities.
(Inherited from Device.)
Public propertyClass
Gets the device's class name.
(Inherited from Device.)
Public propertyClassGuid
Gets the device's class Guid as a string.
(Inherited from Device.)
Public propertyDescription
Gets the device's description.
(Inherited from Device.)
Public propertyDeviceClass
Gets the device's class instance.
(Inherited from Device.)
Public propertyDiskNumbers
Gets the volume's disk numbers
Public propertyDisks
Gets a list of underlying disks for this volume.
Public propertyFriendlyName
Gets the device's friendly name.
(Inherited from Device.)
Public propertyIndex
Gets the device's index.
(Inherited from Device.)
Public propertyInstanceHandle
Gets the device's instance handle.
(Inherited from Device.)
Public propertyIsUsb
Gets a value indicating whether this device is a USB device.
(Inherited from Device.)
Public propertyLogicalDrive
Gets the volume's logical drive in the form [letter]:\
Public propertyParent
Gets the device's parent device or null if this device has not parent.
(Inherited from Device.)
Public propertyPath
Gets the device's path.
(Inherited from Device.)
Public propertyRemovableDevices
Gets this device's list of removable devices. Removable devices are parent devices that can be removed.
(Inherited from Device.)
Public propertyVolumeName
Gets the volume's name.
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type.
(Overrides DeviceCompareTo(Object).)
Public methodEject
Ejects the device.
(Inherited from Device.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also