語言

PageContentCollection.GetEnumerator 方法

定義

回傳一個枚舉器,用於遍歷頁面集合。

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)

傳回

一個可以用來遍歷集合的列舉器。

實作

備註

列舉器僅允許讀取集合中的資料。 列舉器無法用來修改底層集合。

請參閱 IEnumerable。GetEnumerator 關於如何使用普查員的其他說明。

適用於