PageContentCollection.GetEnumerator 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個枚舉器,用於遍歷頁面集合。
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 關於如何使用普查員的其他說明。