ExpertXls Excel Library for .NET
RemoveWorksheet Method (worksheetIndex)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorksheetsCollection ► RemoveWorksheet(Int32)
ExpertXls Excel Library for .NET
Removes the worksheet at the specified zero based index from collection.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void RemoveWorksheet(
    	int worksheetIndex
    )

    Public Sub RemoveWorksheet ( _
    	worksheetIndex As Integer _
    )

    public:
    void RemoveWorksheet(
    	int worksheetIndex
    )

Parameters

worksheetIndex (Int32)
  The zero based index of the worksheet to be removed from collection.

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)