Class XenDesktopFileTypeAssociation
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual XenDesktop file type association.
public class XenDesktopFileTypeAssociation : GlobalSerializableClassicBase, IComparable<XenDesktopFileTypeAssociation>
- Inheritance
-
XenDesktopFileTypeAssociation
- Implements
Constructors
XenDesktopFileTypeAssociation()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopFileTypeAssociation class.
public XenDesktopFileTypeAssociation()
Properties
ContentType
Gets or sets the content type in MIME format - for example "image/bmp".
public string ContentType { get; set; }
Property Value
ExtensionName
Gets or sets the extension name - for example ".bmp".
public string ExtensionName { get; set; }
Property Value
Methods
CompareTo(XenDesktopFileTypeAssociation)
Compares two CENTREL.XIA.Configuration.Types.XenDesktopFileTypeAssociation objects to allow sorting alphabetically by extension name.
public int CompareTo(XenDesktopFileTypeAssociation other)
Parameters
other
XenDesktopFileTypeAssociationThe CENTREL.XIA.Configuration.Types.XenDesktopFileTypeAssociation to compare to.
Returns
- int
The sort order of the two items.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopFileTypeAssociation class from the specified XML.
public static XenDesktopFileTypeAssociation FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- XenDesktopFileTypeAssociation
A CENTREL.XIA.Configuration.Types.XenDesktopFileTypeAssociation class.
ToString()
Returns the file type association as a human readable string - for example ".bmp (image/bmp)".
public override string ToString()
Returns
- string
The file type association as a human readable string.