InsertRange()
List::InsertRange(int, IEnumerablePtr) method
Inserts data range at specific position.
void System::Collections::Generic::List<T>::InsertRange(int index, IEnumerablePtr collection)
Arguments
| Parameter | Type | Description |
|---|---|---|
| index | int | Index to insert data at. |
| collection | IEnumerablePtr | Collection of elements to insert. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentOutOfRangeException | if index is less than zero. |
| ArgumentNullException | if collection is nullptr. |
See Also
- Typedef IEnumerablePtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Slides