Xceed Workbooks for .NET v1.4 Documentation
RemoveAt Method (WorksheetCollection)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > WorksheetCollection Class : RemoveAt Method
The index that corresponds to the Worksheet that will be removed.
Removes a Worksheet from the WorksheetCollection by using an index to locate it in the collection.
Syntax
'Declaration

 

Public Sub RemoveAt( _

   ByVal worksheetIndex As Integer _

) 
'Usage

 

Dim instance As WorksheetCollection

Dim worksheetIndex As Integer

 

instance.RemoveAt(worksheetIndex)
public void RemoveAt( 

   int worksheetIndex

)

Parameters

worksheetIndex
The index that corresponds to the Worksheet that will be removed.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorksheetCollection Class
WorksheetCollection Members