Note
The reader position must be before the content to deserialize.
public static Object? Deserialize(
XmlReader reader
)
Public Shared Function Deserialize (
reader As XmlReader
) As Object
public:
static Object^ Deserialize(
XmlReader^ reader
)
static member Deserialize :
reader : XmlReader -> Object
ArgumentNullException | reader must not be . |
NotSupportedException | Deserializing an inner type is not supported. |
ReflectionException | An inner type cannot be instantiated or serialized XML content is corrupt. |
ArgumentException | XML content is inconsistent or corrupt. |
XmlException | An error occurred while parsing the XML. |