RemoveAt
MasterSlideCollection.RemoveAt 方法
移除集合中指定索引处的元素。
public void RemoveAt(int index)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 要移除的元素的零基索引。 |
异常
异常 | 条件 |
---|---|
PptxEditException | 如果要移除的母版在演示文稿中被使用(其 HasDependingSlides 属性为 true)则抛出。 |
备注
在抛出 PptxEditException 之前,请检查母版的 HasDependingSlides 属性。