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
Available since 1.1
Return to top
Show: