Returns an enumerator that iterates through the collection.

C# | Visual Basic |
public IEnumerator<TTarget> GetEnumerator()
Public Function GetEnumerator As IEnumerator(Of TTarget)

A IEnumerator<(Of <(T>)>)
that can be used to iterate through the collection.