NAnt SDK Documentation - v0.92 |

# BuildListenerCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

#### Return Value

A BuildListenerEnumerator for the entire collection.

#### See Also

BuildListenerCollection Class | NAnt.Core Namespace