Excel for WPF and Silverlight
IndexOf(XLSheet) Method

C1.WPF.Excel Namespace > XLSheetCollection Class > IndexOf Method : IndexOf(XLSheet) Method
The object to look for.
Gets the index of a given XLSheet in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal sheet As XLSheet _
) As System.Integer
public System.int IndexOf( 
   XLSheet sheet
)

Parameters

sheet
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

Reference

XLSheetCollection Class
XLSheetCollection Members
Overload List