NAnt SDK Documentation - v0.92 |

# TaskBuilderCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

#### Return Value

A TaskBuilderEnumerator for the entire collection.

#### See Also

TaskBuilderCollection Class | NAnt.Core Namespace