NAnt SDK Documentation - v0.92 |

# EnvironmentVariableCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

#### Return Value

A EnvironmentVariableEnumerator for the entire collection.

#### See Also

EnvironmentVariableCollection Class | NAnt.Core.Types Namespace