Parameters
- index
- The zero-based index at which item should be inserted.
- item
- The object to insert. The value can be null for reference types.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Thrown when index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection.Count. |