Parameters
- xml
- The XML that should be made into an object.
- thisType
- Type of object that produced the XML.
Return Value
The reconstituted object.
Car MyCar1 = new Car(); byte[] CarBytes = XmlUtility.Serialize(MyCar1); string CarXml = XmlUtility.Utf8BytesToString(CarBytes); Car MyCar2 = (Car) Deserialize(CarXml, typeof(Car)); // MyCar2 is now a copy of MyCar1.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2