RemoveAt

MathBlock.RemoveAt método

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

public void RemoveAt(int index)
ParámetroTipoDescripción
indexInt32El índice basado en cero del elemento a eliminar.

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