IndexOf
IndexOf(IBehaviorProperty)
确定 IList 中特定项的索引。
public int IndexOf(IBehaviorProperty item)
参数 | 类型 | 描述 |
---|---|---|
item | IBehaviorProperty | 要在 IList 中定位的对象。 |
返回值
如果在列表中找到 item 的索引;否则,返回 -1。
另见
- interface IBehaviorProperty
- class BehaviorPropertyCollection
- namespace Aspose.Slides.Animation
- assembly Aspose.Slides
IndexOf(string)
根据属性值确定 IList 中特定项的索引。
public int IndexOf(string propertyValue)
参数 | 类型 | 描述 |
---|---|---|
propertyValue | String | 属性的值 |
返回值
具有指定值的属性的索引
另见
- class BehaviorPropertyCollection
- namespace Aspose.Slides.Animation
- assembly Aspose.Slides