Generates an object from its XML representation.
Assembly: System.Xml (in System.Xml.dll)
The implementation you provide for this method must be able to reconstitute your object using the information that was written by the WriteXml method.
When this method is called, the reader should be positioned at the start of the element that wraps the information for your type. That is, the reader should be positioned just before the start tag that indicates the beginning of a serialized object. When this method returns, it must have read the entire element from beginning to end, including all of its contents.