语言

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。

适用于