PageContentCollection.GetEnumerator Method ()

 

Returns an enumerator for iterating through the page collection.

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

public IEnumerator<PageContent> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<PageContent>

An enumerator 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.

See IEnumerable.GetEnumerator for other remarks about how enumerators should be used.

.NET Framework
Available since 3.0
Return to top
Show: