Gets the position of an XLCellRange object in the collection.

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

Syntax

C#
public int IndexOf(
	XLCellRange cr
)
Visual Basic
Public Function IndexOf ( _
	cr As XLCellRange _
) As Integer

Parameters

cr
Type: C1.Silverlight.Excel..::..XLCellRange
XLCellRange object to look for.

Return Value

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

See Also