NAnt SDK Documentation - v0.92 |

# XmlNamespaceCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

#### Return Value

A XmlNamespaceEnumerator for the entire collection.

#### See Also

XmlNamespaceCollection Class | NAnt.Core.Types Namespace