Skip to main content
UIElementCollectionGetEnumerator Method

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns an enumerator that can iterate the UIElementCollection.

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

public virtual IEnumerator GetEnumerator()
virtual IEnumerator^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator
override GetEnumerator : unit -> IEnumerator
Public Overridable Function GetEnumerator As IEnumerator

Return Value


An IEnumerator that can list the members of this collection.

.NET Framework
Available since 3.0
Return to top