RemoveAt
IMathBlockCollection.RemoveAt 方法
删除集合中指定索引处的项。
public void RemoveAt(int index)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 要删除的项的零基索引。 |
示例
示例:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Add(block);
blockCollection.RemoveAt(0);