InsertRange(int, IEnumerable<T>)
Inserts the elements of a collection into the AdvisableCollection<T> at the specified index.
Declaration
public void InsertRange(int index, IEnumerable<T> collection)Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index at which the new elements should be inserted. |
| IEnumerable<T> | collection | The collection whose elements should be inserted into the AdvisableCollection<T>.
The collection itself cannot be |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| ArgumentOutOfRangeException |
-or- index is greater than Count
|