Spread Windows Forms 11.0 Product Documentation
Remove Method (Row)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Row Class : Remove Method
Removes this row (or a range of row if called repeatedly).
Syntax
'Declaration
 
Public Sub Remove() 
'Usage
 
Dim instance As Row
 
instance.Remove()
public void Remove()
Remarks
To remove a range of rows, you can use the Rows shortcut to call this method repeatedly for a range of rows, or use the Remove method from the Rows class and specify a range of rows.
Example
This example removes a row from the sheet.
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0];
listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount.ToString());
r.Remove();
listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount.ToString());
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0)
ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount.ToString())
r.Remove()
ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount.ToString())
See Also

Reference

Row Class
Row Members
Remove Method (Rows Class)