Clear

IMathElementCollection.Clear method

Elimina todos los elementos de la colección.

public void Clear()

Ejemplos

Ejemplo:

[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
collection.Clear();

Ver también