MarkLogic XCC/.Net Library |

# XdmItem.WriteTo Method

Write the value of this item to the provided Stream object. The Stream returned by the method AsStream() will be used as the value source.

#### Overload List

Write the value of this item to the provided Stream object. The Stream returned by the method AsStream() will be used as the value source.

> void WriteTo(Stream);

Write the value of this item to the provided TextWriter object. The TextReader returned by the method AsReader() will be used as the value source.

> void WriteTo(TextWriter);

#### See Also

XdmItem Interface | Marklogic.Xcc.Types Namespace