[]
        
(Showing Draft Content)

C1.Excel.XLCellRangeCollection.Insert

Insert Method

Insert(int, XLCellRange)

Inserts an XLCellRange object at a specific position in the collection.

Declaration
public XLCellRange Insert(int index, XLCellRange cr)
Parameters
Type Name Description
int index

Position where the object will be inserted.

XLCellRange cr

Object to insert in the collection.

Returns
Type Description
XLCellRange

A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection).