Gets the index of a given XLSheet in the collection.

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

Syntax

C#
public int IndexOf(
	XLSheet sheet
)
Visual Basic
Public Function IndexOf ( _
	sheet As XLSheet _
) As Integer

Parameters

sheet
Type: C1.Silverlight.Excel..::..XLSheet
The object to look for.

Return Value

The index of the object in the collection, or -1 if the object is not a member of the collection.

See Also