GetEnumerator Method

DependencyObjectCollection<T>.GetEnumerator Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets an enumerator that iterates through the collection.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public IEnumerator<T> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<T>
An enumerator for the collection.

Implements

IEnumerable<T>.GetEnumerator()

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft