Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / WorksheetCollection Class / RemoveAt Method
The zero-based index of the sheet to remove.


In This Topic
    RemoveAt Method (WorksheetCollection)
    In This Topic
    Removes the sheet at the specified index.
    Syntax
    'Declaration
     
    Public Overrides Sub RemoveAt( _
       ByVal index As Integer _
    ) 
    'Usage
     
    Dim instance As WorksheetCollection
    Dim index As Integer
     
    instance.RemoveAt(index)
    public override void RemoveAt( 
       int index
    )

    Parameters

    index
    The zero-based index of the sheet to remove.
    Exceptions
    ExceptionDescription
    index is not a valid index in the collection.
    The collection is read-only.
    See Also