TextDecorationCollection::IEnumerable<TextDecoration>::GetEnumerator Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns an enumerator that iterates through the collection.

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

virtual IEnumerator<TextDecoration^>^ GetEnumerator() sealed = IEnumerable<TextDecoration^>::GetEnumerator

Return Value

Type: System.Collections.Generic::IEnumerator<TextDecoration>
An IEnumerator<T> object that can be used to iterate through the collection.



This member is an explicit interface member implementation. It can be used only when the TextDecorationCollection instance is cast to an IEnumerable<T> interface.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1