Progress® Telerik® Reporting R2 2018

ReportXmlSerializerDeserialize Method (XmlReader)

Deserializes the XML document contained by the specified XmlReader.

Namespace:  Telerik.Reporting.XmlSerialization
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll) Version: 12.1.18.718 (12.1.18.718)

Syntax

public Object Deserialize(
	XmlReader reader
)

Parameters

reader
Type: System.XmlXmlReader
The XmlReader that contains the XML document to deserialize.

Return Value

Type: Object
The Telerik.Reporting object being deserialized.

Examples

The following example deserializes an object using a XmlReader:
System.Xml.XmlReaderSettings settings = new System.Xml.XmlReaderSettings();
settings.IgnoreWhitespace = true;

using (System.Xml.XmlReader xmlReader = System.Xml.XmlReader.Create("Report1.xml", settings))
{
    Telerik.Reporting.XmlSerialization.ReportXmlSerializer xmlSerializer =
        new Telerik.Reporting.XmlSerialization.ReportXmlSerializer();

    Telerik.Reporting.Report report = (Telerik.Reporting.Report)
        xmlSerializer.Deserialize(xmlReader);
}

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy