Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / WorksheetCollection Class / Remove Method
The Worksheet object to remove.


In This Topic
    Remove Method (WorksheetCollection)
    In This Topic
    Removes the specified sheet from the collection.
    Syntax
    'Declaration
     
    Public Overrides Function Remove( _
       ByVal worksheet As Worksheet _
    ) As Boolean
    'Usage
     
    Dim instance As WorksheetCollection
    Dim worksheet As Worksheet
    Dim value As Boolean
     
    value = instance.Remove(worksheet)
    public override bool Remove( 
       Worksheet worksheet
    )

    Parameters

    worksheet
    The Worksheet object to remove.

    Return Value

    Returns true if the sheet is removed; otherwise, false.
    See Also