RemoveAt

CommentCollection.RemoveAt 方法

移除集合中指定索引处的元素。

public void RemoveAt(int index)
参数类型描述
indexInt32要移除的元素的零基索引。

异常

异常条件
ArgumentOutOfRangeException索引小于 0 或者索引等于或大于 Count
PptxEditException如果评论已经被移除则抛出。

另见