Export (0) Print
Expand All

XmlSerializer::Deserialize Method (XmlReader, XmlDeserializationEvents)

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

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public:
Object^ Deserialize(
	XmlReader^ xmlReader, 
	XmlDeserializationEvents events
)

Parameters

xmlReader
Type: System.Xml::XmlReader

The XmlReader that contains the document to deserialize.

events
Type: System.Xml.Serialization::XmlDeserializationEvents

An instance of the XmlDeserializationEvents class.

Return Value

Type: System::Object
The Object being deserialized.

The object being deserialized.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft