MarkLogic XCC/.Net Library |

# XdmItem.WriteTo Method (Stream)

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.

[Visual Basic]
Sub WriteTo( _
ByVal outputStream As Stream _
)
[C#]
void WriteTo(
Stream outputStream
);

#### Parameters

outputStream
  A Client-provided, open Stream object to which the value will be written. The Stream will not be closed by this method.

#### See Also

XdmItem Interface | Marklogic.Xcc.Types Namespace | XdmItem.WriteTo Overload List