[]
Inserts some items into the collection at the specified index.
protected virtual void InsertItems(int index, IEnumerable<T> value)
Protected Overridable Sub InsertItems(index As Integer, value As IEnumerable(Of T))
Type | Name | Description |
---|---|---|
int | index | The zero-based index at which item should be inserted. |
IEnumerable<T> | value | A IEnumerable<T> containing the objects to add to the collection. |
Type | Condition |
---|---|
ArgumentNullException | The assigned value is null. |
InvalidOperationException | When the collection is locked. |
ArgumentException | When the |