Method Insert
Insert(int, T)
Inserts an item to the IList<T> at the specified index.
선언
public void Insert(int index, T item)
파라미터
타입 | 이름 | 설명 |
---|---|---|
int | index | The zero-based index at which |
T | item | The object to insert into the IList<T>. |
구현
예외
타입 | 조건 |
---|---|
ArgumentOutOfRangeException |
|
NotSupportedException | The IList<T> is read-only. |