RemoveAt

MathBlock.RemoveAt Methode

Entfernt das Element am angegebenen Index der Sammlung.

public void RemoveAt(int index)  
ParameterTypBeschreibung
indexInt32Der nullbasierte Index des zu entfernenden Elements.

Beispiele

Beispiel:

[C#]  
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));  
MathematicalText plusElement = new MathematicalText("+");  
mathBlock.Add(plusElement);  
mathBlock.Insert(0, new MathRadical(new MathematicalText("x"), new MathematicalText("3")));  
mathBlock.RemoveAt(2);  

Siehe Auch