MarkLogic XCC/.Net Library

SimpleQueryRunner.ExecuteToStringArray Method 

Submit the given query string and return an array of Strings, possibly of length zero, which contains the String value of each ResultItem.

[Visual Basic]
Overridable Public Function ExecuteToStringArray( _
   ByVal query As String _
) As String()
[C#]
public virtual string[] ExecuteToStringArray(
   string query
);

Parameters

query
XQuery code as a String, to be evaluated by the server.

Return Value

An array of Strings, one per item in the ResultSequence.

See Also

SimpleQueryRunner Class | Marklogic.Xcc.Examples Namespace