RemoveAt

IMathBlockCollection.RemoveAt method

Removes an item at the specified index of the collection.

public void RemoveAt(int index)
ParameterTypeDescription
indexInt32The zero-based index of the item to remove.

Examples

Example:

[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Add(block);
blockCollection.RemoveAt(0);

See Also