XmlObjectSerializer.ReadObject Method

 

Reads an XML document or document stream and returns the deserialized object.

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

NameDescription
System_CAPS_pubmethodReadObject(Stream)

Reads the XML stream or document with a Stream and returns the deserialized object.

System_CAPS_pubmethodReadObject(XmlDictionaryReader)

Reads the XML document or stream with an XmlDictionaryReader and returns the deserialized object.

System_CAPS_pubmethodReadObject(XmlDictionaryReader, Boolean)

Reads the XML stream or document with an XmlDictionaryReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.

System_CAPS_pubmethodReadObject(XmlReader)

Reads the XML document or stream with an XmlReader and returns the deserialized object.

System_CAPS_pubmethodReadObject(XmlReader, Boolean)

Reads the XML document or stream with an XmlReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.

Return to top
Show: