Class DiskDriveCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of physical disks as seen by the operating system.
public class DiskDriveCollection : Collection<DiskDrive>, IList<DiskDrive>, ICollection<DiskDrive>, IList, ICollection, IReadOnlyList<DiskDrive>, IReadOnlyCollection<DiskDrive>, IEnumerable<DiskDrive>, IEnumerable
- Inheritance
-
DiskDriveCollection
- Implements
- Inherited Members
Constructors
DiskDriveCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.DiskDriveCollection class.
public DiskDriveCollection()
Methods
FindByIndex(int)
Returns the disk drive with the specified device index or null if no disk drive with the specified index is found.
public DiskDrive FindByIndex(int index)
Parameters
index
intThe unique device index of the disk drive to locate as seen in the disk administrator MMC.
Returns
- DiskDrive
The disk drive with the specified device index or null if no disk drive with the specified index is found.
Sort()
Sorts the values in the collection.
public void Sort()