[]
        
(Showing Draft Content)

C1.Excel.XLCellRangeCollection.IndexOf

IndexOf Method

IndexOf(XLCellRange)

Gets the position of an XLCellRange object in the collection.

Declaration
public int IndexOf(XLCellRange cr)
Parameters
Type Name Description
XLCellRange cr

XLCellRange object to look for.

Returns
Type Description
int

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