Class DiskDrivePartitionCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of partitions on a disk drive.
public class DiskDrivePartitionCollection : Collection<DiskDrivePartition>, IList<DiskDrivePartition>, ICollection<DiskDrivePartition>, IList, ICollection, IReadOnlyList<DiskDrivePartition>, IReadOnlyCollection<DiskDrivePartition>, IEnumerable<DiskDrivePartition>, IEnumerable
- Inheritance
-
DiskDrivePartitionCollection
- Implements
- Inherited Members
Constructors
DiskDrivePartitionCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.DiskDrivePartitionCollection class.
public DiskDrivePartitionCollection()
Methods
FindByLogicalDrive(LogicalDrive)
Returns the CENTREL.XIA.Configuration.Types.DiskDrivePartition to which the logical drive resides.
public DiskDrivePartition FindByLogicalDrive(LogicalDrive logicalDrive)
Parameters
logicalDrive
LogicalDriveThe CENTREL.XIA.Configuration.Types.LogicalDrive for which the partition is to be located.
Returns
- DiskDrivePartition
The CENTREL.XIA.Configuration.Types.DiskDrivePartition that contains the specified logical drive.
Sort()
Sorts the values in the collection.
public void Sort()