MarkLogic XCC/.Net Library |

# XdmItem Members

XdmItem overview

#### Public Instance Properties

Cached | Indicates whether this item's value is buffered in memory. If so it is safe to call any of the accessor methods (AsString(), AsInputStream(), AsReader()) and to call them repeatedly. Normally this method will only return false for ResultItem instances which are members of a streaming ResultSequences. However, even such instances may be indicate thstt they are cached if, for example, AsString() is the first method invoked. Doing so will buffer the value which can then be reused for subsequent invocations of AsStream().
ItemType | The ItemType instance corresponding to the type of this item.

#### Public Instance Methods

AsInputStream | Return an input Stream for this item.
AsReader | Return a TextReader for this item.
WriteTo | Overloaded. 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.

#### See Also

XdmItem Interface | Marklogic.Xcc.Types Namespace