The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
NetDataContractSerializer::ReadObject Method (XmlReader^)
.NET Framework (current version)
Reads the XML stream or document with an XmlDictionaryReader and returns the deserialized object.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- reader
-
Type:
System.Xml::XmlReader^
The XmlReader used to read the XML stream or document.
| Exception | Condition |
|---|---|
| ArgumentNullException | the reader is set to null. |
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. |
.NET Framework
Available since 3.0
Available since 3.0
Show:
