XmlDictionaryWriter.WriteNode Method (XmlReader, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes the current XML node from an XmlReader.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- reader
- Type: System.Xml.XmlReader
The XmlReader.
- defattr
- Type: System.Boolean
If true, copy the default attributes from the XmlReader; otherwise, false. If true, use default attributes; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | reader is null. |
Show: