Insert(Int32,XLSheet) Method | ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLSheetCollection Class / Insert Method / Insert(Int32,XLSheet) Method
Position where the item will be inserted.
XLSheet object to add to the collection.

In This Topic
Insert(Int32,XLSheet) Method
In This Topic
Inserts an XLSheet object into the collection at the specified position.
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As System.Integer, _
   ByVal sheet As XLSheet _
) As XLSheet
 

Parameters

index
Position where the item will be inserted.
sheet
XLSheet object to add to the collection.

Return Value

A reference to the object that was added to the collection (in this case, always the sheet parameter).
See Also