Einhugur Xml Serialization Framework for Einhugur Xml Plugin |

# XmlSerializer.DeSerialize Method

De-serialises a class structure

shared DeSerialize(
item as Object,
rootName as String,
xmlDoc as EinhugurXml.Document)

#### Parameters

item
  The object to de-serialize into
rootName
  Name of the root.
xmlDoc
  The Xml Document to be de-serialized.

#### Remarks

All classes that are de-serialized must have a default constructor that has no parameters.

var deserializedFacility as Facility = new Facility()
XmlSerialization.XmlSerializer.DeSerialize(deserializedFacility,"Facility",xmlDoc)

#### See Also

XmlSerializer Class