Class VMwareSystemSettingCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of VMware system settings.
public class VMwareSystemSettingCollection : Collection<VMwareSystemSetting>, IList<VMwareSystemSetting>, ICollection<VMwareSystemSetting>, IList, ICollection, IReadOnlyList<VMwareSystemSetting>, IReadOnlyCollection<VMwareSystemSetting>, IEnumerable<VMwareSystemSetting>, IEnumerable
- Inheritance
-
VMwareSystemSettingCollection
- Implements
- Inherited Members
Constructors
VMwareSystemSettingCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareSystemSettingCollection class.
public VMwareSystemSettingCollection()
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.VMwareSystemSettingCollection class from the specified XML.
public static VMwareSystemSettingCollection FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- VMwareSystemSettingCollection
A CENTREL.XIA.Configuration.Types.VMwareSystemSettingCollection class.
GetValueByKey(string)
Returns the string value of the setting with the specified name, or an empty string if no setting with the specified name exists.
public string GetValueByKey(string name)
Parameters
name
stringThe name of the setting to locate - for example "VirtualCenter.CacheSize".
Returns
- string
The string value of the setting with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()
ToXml()
Returns the XML representation of this CENTREL.XIA.Configuration.Types.VMwareSystemSettingCollection.
public string ToXml()
Returns
- string
The CENTREL.XIA.Configuration.Types.VMwareSystemSettingCollection in XML format.