IndexOf
PortionCollection.IndexOf 方法
确定 IList 中特定项的索引。
public int IndexOf(IPortion item)
参数 | 类型 | 描述 |
---|---|---|
item | IPortion | 要在 IList 中定位的对象。 |
返回值
如果在列表中找到 item 的索引;否则返回 -1。
见亦
- 接口 IPortion
- 类 PortionCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides
确定 IList 中特定项的索引。
public int IndexOf(IPortion item)
参数 | 类型 | 描述 |
---|---|---|
item | IPortion | 要在 IList 中定位的对象。 |
如果在列表中找到 item 的索引;否则返回 -1。