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)

傳回

IEnumerator<PageContent>

可用來逐一查看集合的列舉值。

實作

備註

列舉值只允許讀取集合中的資料。 列舉值無法用來修改基礎集合。

請參閱 IEnumerableGetEnumerator 如需其他關於應如何使用列舉值的備註。

適用於