[]
Inserts a new Layer into the LayerCollection at the specified location.
public void Insert(int index, Layer item)
| Type | Name | Description |
|---|---|---|
| int | index | A zero-based int index indicating the position at which to insert the Layer object. |
| Layer | item | A Layer object to insert. |
LayerCollection collection = new LayerCollection(_report);
collection.Insert(0, new Layer("Layer2"));