ReadObject Method

DataContractSerializer.ReadObject Method

 

Reads the XML 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.(Inherited from XmlObjectSerializer.)

System_CAPS_pubmethodReadObject(XmlDictionaryReader)

Reads the XML document or stream with an XmlDictionaryReader and returns the deserialized object.(Inherited from XmlObjectSerializer.)

System_CAPS_pubmethodReadObject(XmlDictionaryReader, Boolean)

Reads the XML stream with an XmlDictionaryReader and returns the deserialized object, and also specifies whether a check is made to verify the object name before reading its value. (Overrides XmlObjectSerializer.ReadObject(XmlDictionaryReader, Boolean).)

System_CAPS_pubmethodReadObject(XmlDictionaryReader, Boolean, DataContractResolver)

Reads an XML document or document stream and returns the deserialized object. The method includes a parameter to specify whether the object name is verified is validated, and a resolver for mapping xsi:type declarations at runtime.

System_CAPS_pubmethodReadObject(XmlReader)

Reads the XML stream with an XmlReader and returns the deserialized object.(Overrides XmlObjectSerializer.ReadObject(XmlReader).)

System_CAPS_pubmethodReadObject(XmlReader, Boolean)

Reads the XML stream with an XmlReader and returns the deserialized object, and also specifies whether a check is made to verify the object name before reading its value.(Overrides XmlObjectSerializer.ReadObject(XmlReader, Boolean).)

Return to top
Show:
© 2016 Microsoft