ElementCollection
概述
ElementCollection 是 Aspose.PDF FOSS 中用于 .NET 的类。继承自:IEnumerable<Element>。
一个实时、可变的结构元素集合,位于父级的 /K 数组下。
此类提供 2 个用于在 .NET 程序中处理 ElementCollection 对象的方法。可用的方法包括:GetEnumerator、Remove。在安装了 Aspose.PDF FOSS for .NET 包之后,所有公共成员对任何 .NET 应用程序均可访问。属性:Count。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Count | int | 读取 | 直接子项的数量。 |
方法
| 签名 | 描述 |
|---|---|
GetEnumerator() | 按树的顺序遍历子项。 |
Remove(item: Element) | 从此集合以及父级的 /K 数组中移除该项。 |