NAnt SDK Documentation - v0.92 |

# NamespaceImportCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

#### Return Value

A NamespaceImportEnumerator for the entire collection.

#### See Also

NamespaceImportCollection Class | NAnt.DotNet.Types Namespace