Parameters
- index
- The zero-based index at which item should be inserted.
- item
- The object to insert. The value can be a null reference (Nothing in Visual Basic) for reference types.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | index is less than zero. -or- index is greater than Count. |