IPortionCollection
概述
IPortionCollection 是 Aspose.Slides FOSS for .NET 的界面。.
代表一系列的份品。.
此界面提供7种方法,以便在 .NET 程序中使用 IPortionCollection 对象。. 可用的方法包括: Add, Clear, Contains, IndexOf, Insert, Remove, RemoveAt. 所有公共成员都可以在安装 Aspose.Slides FOSS for .NET 包后访问任何 .net 应用程序。. 属性: AsIEnumerable, Count, IsReadOnly.
属性
| 名称 | 类型 | Access | 描述 |
|---|---|---|---|
Count | int | 阅读 | 它获得了实际上在收藏中包含的元素数量。. |
AsIEnumerable | IEnumerable<IPortion> | 阅读 | 回归 IEnumerable{IPortion}界面。. |
IsReadOnly | bool | 阅读 | 获取一个值,指示集合是否为只读。. |
方法
| Signature | 描述 |
|---|---|
Add(value: IPortion) | 添加一份到收藏的结尾。. |
IndexOf(item: IPortion) | 确定收藏中的特定份量的指数。. |
Insert(index: int, value: IPortion) | 将一个部分插入指定的索引中收集。. |
Clear() | 将所有部分从收藏中移除。. |
Contains(item: IPortion) | 决定收藏是否包含特定份。. |
Remove(item: IPortion) | 将特定部分的第一次出现从收藏中移除。. |
RemoveAt(index: int) | 将分数移除到指定的指标。. |