Class XenDesktopMetadataItem
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual XenDesktop metadata item.
public class XenDesktopMetadataItem : GlobalSerializableClassicBase, IComparable<XenDesktopMetadataItem>
- Inheritance
-
XenDesktopMetadataItem
- Implements
Constructors
XenDesktopMetadataItem()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopMetadataItem class.
public XenDesktopMetadataItem()
XenDesktopMetadataItem(string, string)
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopMetadataItem class with the specified name and value.
public XenDesktopMetadataItem(string name, string value)
Parameters
Properties
Name
Gets or sets the name of the metadata item - for example "Citrix_Broker_MaxAbsoluteActiveActions".
public string Name { get; set; }
Property Value
Value
Gets or sets the value of the metadata item.
public string Value { get; set; }
Property Value
Methods
CompareTo(XenDesktopMetadataItem)
Compares two CENTREL.XIA.Configuration.Types.XenDesktopMetadataItem objects to allow sorting alphabetically by name.
public int CompareTo(XenDesktopMetadataItem other)
Parameters
other
XenDesktopMetadataItemThe CENTREL.XIA.Configuration.Types.XenDesktopMetadataItem object to compare to.
Returns
- int
The sort order of the two items.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopMetadataItem class from the specified XML.
public static XenDesktopMetadataItem FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- XenDesktopMetadataItem
A CENTREL.XIA.Configuration.Types.XenDesktopMetadataItem class.
ToString()
Returns the metadata item in the format "Name (value)".
public override string ToString()
Returns
- string
The metadata item in the format "Name (value)"