System.Xml.Serialization.XmlSerializer.Deserialize Method

Deserializes an XML document contained by the specified System.Xml.XmlReader and allows the overriding of events that occur during deserialization.

Syntax

public object Deserialize (System.Xml.XmlReader xmlReader, XmlDeserializationEvents events)

Parameters

xmlReader
The System.Xml.XmlReader that contains the document to deserialize.
events
An instance of the System.Xml.Serialization.XmlDeserializationEvents class.

Returns

The object being deserialized.

Remarks

The object being deserialized.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0