Table of Contents

Class WindowsDiskVolumes

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the volumes on a Windows system. Information in this section is available on Windows 2003 and above.

public class WindowsDiskVolumes : BypassSection
Inheritance
WindowsDiskVolumes
Inherited Members

Constructors

WindowsDiskVolumes()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsDiskVolumes class.

public WindowsDiskVolumes()

Properties

Items

Gets or sets the items in the collection.

public WindowsDiskVolumeCollection Items { get; set; }

Property Value

WindowsDiskVolumeCollection

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.WindowsDiskVolumes cloned from this object.

public WindowsDiskVolumes Clone()

Returns

WindowsDiskVolumes

A CENTREL.XIA.Configuration.Types.WindowsDiskVolumes.

FindByDriveLetter(string)

Returns the volume with the specified drive letter or null if no volume with that drive letter is found.

public WindowsDiskVolume FindByDriveLetter(string driveLetter)

Parameters

driveLetter string

The drive letter of the volume to locate - for example "D", "D:" or "D:".

Returns

WindowsDiskVolume

The volume with the specified drive letter or null if no volume with that drive letter is found.

FindById(string)

Returns the volume with the specified device identifier or null if no volume with that device ID is found.

public WindowsDiskVolume FindById(string id)

Parameters

id string

The unique device identifier of the volume to locate - for example "41d0b186-f091-11e2-be66-806e6f6e6963".

Returns

WindowsDiskVolume

The volume with the specified device identifier or null if no volume with that device identifier is found.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.WindowsDiskVolumes class from the specified XML.

public static WindowsDiskVolumes FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

WindowsDiskVolumes

A CENTREL.XIA.Configuration.Types.WindowsDiskVolumes class.

ToString()

Returns a summary of the disk volumes or "{Not Documented}".

public override string ToString()

Returns

string

A summary of the disk volumes or "{Not Documented}".