Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Deserialize Method (XmlReader, XmlDeserializationEvents)

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