WriteNode Method (XmlDictionaryReader, Boolean)
Collapse the table of content
Expand the table of content

XmlDictionaryWriter.WriteNode Method (XmlDictionaryReader, 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 XmlDictionaryReader.

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

public virtual void WriteNode(
	XmlDictionaryReader reader,
	bool defattr
)

Parameters

reader
Type: System.Xml.XmlDictionaryReader
The XmlDictionaryReader.
defattr
Type: System.Boolean
If true, copy the default attributes from the XmlReader; otherwise 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:
© 2016 Microsoft