[]
Creates a new XLChart and inserts it at a specific position in the collection.
public XLChart Insert(int index)
Public Function Insert(index As Integer) As XLChart
| Type | Name | Description |
|---|---|---|
| int | index | Index where the new XLChart will be added. |
| Type | Description |
|---|---|
| XLChart | A reference to the new XLChart object. |
Inserts an XLChart object into the collection at the specified position.
public XLChart Insert(int index, XLChart chart)
Public Function Insert(index As Integer, chart As XLChart) As XLChart
| Type | Name | Description |
|---|---|---|
| int | index | Position where the item will be inserted. |
| XLChart | chart | XLChart object to add to the collection. |
| Type | Description |
|---|---|
| XLChart | A reference to the object that was added to the collection
(in this case, always the |