Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorksheet Interface / RemoveRows Method
An integer value indicates the index of first row to remove.
An integer value indicates the number of row(s) to remove.


In This Topic
    RemoveRows Method (IWorksheet)
    In This Topic
    Removes one or more rows starting with the row at the specified position.
    Syntax
    'Declaration
     
    
    Function RemoveRows( _
       ByVal row As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Object)
    'Usage
     
    
    Dim instance As IWorksheet
    Dim row As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Object)
     
    value = instance.RemoveRows(row, count)

    Parameters

    row
    An integer value indicates the index of first row to remove.
    count
    An integer value indicates the number of row(s) to remove.

    Return Value

    true if the rows are removed successful, false otherwise.
    See Also