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 Function Deserialize (
	xmlReader As XmlReader,
	events As XmlDeserializationEvents
) As Object


Type: System.Xml.XmlReader

The XmlReader that contains the document to deserialize.

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
© 2015 Microsoft