NAnt SDK Documentation - v0.92 |

# NUnitTestCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

[Visual Basic]
Public Function GetEnumerator() As NUnitTestEnumerator
[C#]
new public NUnitTestEnumerator GetEnumerator();

#### Return Value

A NUnitTestEnumerator for the entire collection.

#### See Also

NUnitTestCollection Class | NAnt.NUnit1.Types Namespace