MarkLogic XCC/.Net Library |

# ResultSequence.GetEnumerator Method

Returns a java.util.Iterator instance that may be used to iterate over this result sequence. Each object returned by the Iterator is an instance of ResultItem.

[Visual Basic]
Function GetEnumerator() As IEnumerator
[C#]
IEnumerator GetEnumerator();

#### Return Value

An Iterator instance for this ResultSequence.

#### See Also

ResultSequence Interface | Marklogic.Xcc Namespace