
Returns an enumerator that can be used to iterate over the collection's items.
[C#]
public IEnumerator GetEnumerator();
[Visual Basic]
Public Function GetEnumerator() As IEnumerator
The return value is an IEnumerator that represents the collection.