MarkLogic XCC/.Net Library |

# XdmItem.AsInputStream Method

Return an input Stream for this item.

[Visual Basic]
Function AsInputStream() As Stream
[C#]
Stream AsInputStream();

#### Return Value

A Stream instance from which this value may be read as a byte stream. For string types (xs:string, xs:QName, etc) the byte stream will be UTF-8 encoded).

#### See Also

XdmItem Interface | Marklogic.Xcc.Types Namespace