NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlWriter.WriteNode

Copies everything from the given reader to the writer, moving the XmlReader to the end of the current element.

[Visual Basic]
Public Sub WriteNode( _
   ByVal reader As XmlReader, _
   ByVal defattr As Boolean _
)
[C#]
public void WriteNode(
   XmlReader reader,
   bool defattr
);
[C++]
public: void WriteNode(
   XmlReader* reader,
   bool defattr
);
[JScript]
public function WriteNode(
   reader : XmlReader,
   defattr : Boolean
);

Parameters

reader
The XmlReader to read from.
defattr
Whether to also copy the default attributes from the XmlReader.

Remarks

If the XmlReader is in the initial state, this method moves the reader to EOF.

See Also

XmlWriter Class | XmlWriter Members | System.NewXml Namespace