PageCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 对象的集合 Page 。 此类不能被继承。
public ref class PageCollection sealed
public sealed class PageCollection
type PageCollection = class
Public NotInheritable Class PageCollection
- 继承
-
PageCollection
属性
| 名称 | 说明 |
|---|---|
| Count |
能拿到目前渲染的页数。 |
| Item[Int32] |
从集合中获得指定的 Page 对象,地址为指定索引。 在 C# 中,此属性是类的 PageCollection 索引器。 |
| TotalCount |
获取或设置报告的总页数。 |
方法
| 名称 | 说明 |
|---|---|
| Add(Page) |
渲染指定的 Page 内容,并将结果作为集合的最后一页存储。 |
| Clear() |
清除集合中存储的任何渲染结果。 |
| Insert(Int32, Page) |
在索引指定的点将指定页面插入集合。 |
| RemoveAt(Int32) |
从索引指定位置的集合中移除一页。 |