NAnt SDK Documentation - v0.92 |

# CommandLineArgumentCollection.GetEnumerator Method

Returns an enumerator that can iterate through the collection.

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

#### Return Value

A CommandLineArgumentEnumerator for the entire collection.

#### See Also

CommandLineArgumentCollection Class | NAnt.Core.Util Namespace