RemoveAt

MathBlock.RemoveAt method

Elimina el elemento en el índice especificado de la colección.

public void RemoveAt(int index)
ParámetroEscribeDescripción
indexInt32El índice de base cero del elemento que se va a quitar.

Ejemplos

Ejemplo:

[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);

Ver también