DeleteRow

MathMatrix.DeleteRow method

Elimina la fila especificada

public void DeleteRow(int rowIndex)
ParámetroEscribeDescripción
rowIndexInt32El índice de base cero de la fila que se va a eliminar.

Excepciones

excepcióncondición
InvalidOperationExceptionCuando intenta eliminar la última fila en la matriz
ArgumentOutOfRangeExceptionSi rowIndex es menor que cero o mayor o igual que RowCount

Ejemplos

Ejemplo:

[C#]
IMathMatrix matrix = new MathMatrix(2, 3);
matrix.DeleteRow(0);

Ver también