[]
Inserts an XLNamedRange object at a specific position in the collection.
public XLNamedRange Insert(int index, XLNamedRange namedRange)
Type | Name | Description |
---|---|---|
int | index | The position where the object will be inserted. |
XLNamedRange | namedRange | The named range to insert in the collection. |
Type | Description |
---|---|
XLNamedRange | A reference to the object if it was successfully added to the collection, or null if the object could not be added (usually because it overlaps another cell range already in the collection). |