MarkLogic XCC/.Net Library

XdmValue.AsString Method 

Return a String representation of this item, if possible. Note that this is similar but not exactly equivalent to toString(). The toString() method will always return a printable String. This method may throw an exception for some types (such as binary()).

[Visual Basic]
Function AsString() As String
[C#]
string AsString();

Return Value

A String representation of this item.

See Also

XdmValue Interface | Marklogic.Xcc.Types Namespace