Reads the XML document or stream with an XmlDictionaryReader and returns the deserialized object.
public virtual Object ReadObject(
An XmlDictionaryReader used to read the XML document.
This method is a virtual method, and has a default implementation that creates a dictionary reader to read the underlying stream and deserialize it. The default implementation assumes the stream is text or XML.