PortionCollection
Overview
PortionCollection 是一个类在Aspose.Slides FOSS的.NET中. 继承人: ISlideComponent, IPortionCollection, IEnumerable<IPortion>.
表示属于滑板组件的可变部分集合.
本类提供了在NET程序中与PortionCollection对象工作的9种方法. 有的方法包括: Add, Clear, Contains, GetEnumerator, GetPortions, IndexOf, Insert, Remove, RemoveAt. 所有公众成员在安装了Aspose.Slides FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: AsIEnumerable, AsIPresentationComponent, Count, IsReadOnly, Presentation, Slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Slide | IBaseSlide? | Read | 得到了滑梯. |
Presentation | IPresentation? | Read | 得到了演示. |
AsIPresentationComponent | IPresentationComponent | Read | 得到了作为i的表达组件. |
AsIEnumerable | IEnumerable<IPortion> | Read | 得到的数量是无数. |
Count | int | Read | 得到了数. |
IsReadOnly | bool | Read | 只有读取. |
Methods
| Signature | Description |
|---|---|
GetPortions() | 得到了底层 XML段元素的部分. |
Add(value: IPortion) | 将指定的 IPortion 插入到集合中. |
IndexOf(item: IPortion) | 返回给定 IPortion 的零基索引 |
Insert(index: int, value: IPortion) | 将 IPortion 置于指定索引上. |
Clear() | 在这个 PortionCollection 实例中调用Clear. |
Contains(item: IPortion) | 检查集合是否包含 IPortion |
Remove(item: IPortion) | 删除指定 IPortion 的第一个出现. |
RemoveAt(index: int) | 删除给定索引中的部分 |
GetEnumerator() | 在集合上提供代器 |