RemoveAt
ICommentAuthorCollection.RemoveAt 方法
移除集合中指定索引的作者。
public void RemoveAt(int index)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 要移除的元素的零基索引。 |
异常
exception | condition |
---|---|
ArgumentOutOfRangeException | 索引小于0或索引等于或大于Count |
PptxEditException | 如果作者已被移除,则抛出。 |
移除集合中指定索引的作者。
public void RemoveAt(int index)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 要移除的元素的零基索引。 |
exception | condition |
---|---|
ArgumentOutOfRangeException | 索引小于0或索引等于或大于Count |
PptxEditException | 如果作者已被移除,则抛出。 |