Clear

IMathBlockCollection.Clear method

Supprime tous les éléments de la collection.

public void Clear()

Exemples

Exemple :

[C#]
IMathBlockCollection blockCollection = new MathParagraph();
blockCollection.Add(new MathBlock(new MathematicalText("block1")));
blockCollection.Add(new MathBlock(new MathematicalText("block2")));
blockCollection.Clear();

Voir également