Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadObject Method

DataContractSerializer.ReadObject Method

Reads the XML stream and returns the deserialized object.

Name Description
DataContractSerializer.ReadObject (Stream) Reads the XML stream or document with a Stream and returns the deserialized object.
DataContractSerializer.ReadObject (XmlDictionaryReader) Reads the XML document or stream with an XmlDictionaryReader and returns the deserialized object.
DataContractSerializer.ReadObject (XmlReader) Reads the XML stream with an XmlReader and returns the deserialized object.
DataContractSerializer.ReadObject (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.
DataContractSerializer.ReadObject (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.

Community Additions

ADD
Show:
© 2015 Microsoft