Excel for WPF and Silverlight
Insert(Int32,XLSheet) Method

C1.WPF.Excel Namespace > XLSheetCollection Class > Insert Method : Insert(Int32,XLSheet) Method
Position where the item will be inserted.
XLSheet object to add to the collection.
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
public XLSheet Insert( 
   System.int index,
   XLSheet sheet
)

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

Reference

XLSheetCollection Class
XLSheetCollection Members
Overload List