Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetDataModel Class / RemoveRows Method
Index of first row to remove
Number of rows to remove


In This Topic
    RemoveRows Method (DefaultSheetDataModel)
    In This Topic
    Removes one or more rows, starting with the specified row.
    Syntax
    'Declaration
     
    
    Public Sub RemoveRows( _
       ByVal row As Integer, _
       ByVal count As Integer _
    ) 
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim count As Integer
     
    instance.RemoveRows(row, count)
    public void RemoveRows( 
       int row,
       int count
    )

    Parameters

    row
    Index of first row to remove
    count
    Number of rows to remove
    Exceptions
    ExceptionDescription
    Specified row is out of range; must be between 0 and total number of rows
    Specified number of rows is out of range; must be between 1 and total number of rows beyond the specified starting row
    See Also