Windows Dev Center

XmlDictionaryWriter.WriteNode Method (XmlReader, Boolean)

Writes the current XML node from an XmlReader.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public override void WriteNode(
	XmlReader reader,
	bool defattr
)

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.

ExceptionCondition
ArgumentNullException

reader is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft