Upraviť

Zdieľať cez


PageContentCollection.GetEnumerator Method

Definition

Returns an enumerator for iterating through the page collection.

public:
 virtual System::Collections::Generic::IEnumerator<System::Windows::Documents::PageContent ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<System.Windows.Documents.PageContent> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Windows.Documents.PageContent>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Windows.Documents.PageContent>
Public Function GetEnumerator () As IEnumerator(Of PageContent)

Returns

An enumerator that can be used to iterate through the collection.

Implements

Remarks

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.

Applies to