| Visual Basic (Declaration) | |
|---|---|
Public Overloads Overridable Sub MoveRow( _ ByVal fromIndex As Integer, _ ByVal toIndex As Integer, _ ByVal rowCount As Integer, _ ByVal moveContent As Boolean _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
Parameters
- fromIndex
- Current index of the column to move
- toIndex
- New index of the column after the move
- rowCount
- The column count.
- moveContent
- Whether to move the content
This example moves multiple rows.
| C# | Copy Code |
|---|---|
fpSpread1.Sheets[0].MoveRow(0,5,2,true); | |
| Visual Basic | Copy Code |
|---|---|
FpSpread1.Sheets(0).MoveRow(0, 5, 2, True) | |
The MultipleRowMovingException is raised if there is an error with this method.