Table of Contents

Class VMwareHostOptionCollection

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

Represents a collection of VMware host advanced options.

public class VMwareHostOptionCollection : Collection<VMwareHostOption>, IList<VMwareHostOption>, ICollection<VMwareHostOption>, IList, ICollection, IReadOnlyList<VMwareHostOption>, IReadOnlyCollection<VMwareHostOption>, IEnumerable<VMwareHostOption>, IEnumerable
Inheritance
VMwareHostOptionCollection
Implements
Inherited Members

Constructors

VMwareHostOptionCollection()

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

public VMwareHostOptionCollection()

Methods

Add(string, string, string)

Adds a new advanced option to the collection.

public void Add(string Name, string Description, string Value)

Parameters

Name string

The name of the option value - for example "Misc.WatchdogBacktrace".

Description string

The description of this option - for example "Backtrace on every nth watchdog".

Value string

The currently configured value of this option.

FromXml(string)

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

public static VMwareHostOptionCollection FromXml(string Xml)

Parameters

Xml string

The XML representation of the object.

Returns

VMwareHostOptionCollection

A CENTREL.XIA.Configuration.Types.VMwareHostOptionCollection class.

Sort()

Sorts the values in the collection.

public void Sort()

ToXml()

Returns the XML representation of this CENTREL.XIA.Configuration.Types.VMwareHostOptionCollection.

public string ToXml()

Returns

string

The CENTREL.XIA.Configuration.Types.VMwareHostOptionCollection in XML format.