NetDataContractSerializer.ReadObject Method

 

Reads the XML stream or document 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 or document with an XmlDictionaryReader and returns the deserialized object; also checks whether the object data conforms to the name and namespace used to create the serializer.(Overrides XmlObjectSerializer.ReadObject(XmlDictionaryReader, Boolean).)

System_CAPS_pubmethodReadObject(XmlReader)

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

System_CAPS_pubmethodReadObject(XmlReader, Boolean)

Reads the XML stream or document with an XmlDictionaryReader and returns the deserialized object; also checks whether the object data conforms to the name and namespace used to create the serializer.(Overrides XmlObjectSerializer.ReadObject(XmlReader, Boolean).)

System_CAPS_security Security Note

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Untrusted Data Security Risks.

Return to top
Show: