Visual Basic
C#
Managed Extensions for C++
C++/CLI
Return Value
An IEnumerator that can be used to iterate through the collection.
Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the
underlying collection. Initially, the enumerator is positioned before the first element in the collection.