Inserts an XLSheet object into the collection at the specified position.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public XLSheet Insert(
	int index,
	XLSheet sheet
)
Visual Basic
Public Function Insert ( _
	index As Integer, _
	sheet As XLSheet _
) As XLSheet

Parameters

index
Type: System..::..Int32
Position where the item will be inserted.
sheet
Type: C1.Silverlight.Excel..::..XLSheet
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