BoundsCheckableList1.Insert
BoundsCheckableList<T>.Insert 方法
在指定索引处将元素插入到 System.Collections.Generic.List 中。
public void Insert(int index, T item)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 应插入项的零基索引。 |
item | T | 要插入的对象。对于引用类型,值可以为 null。 |
异常
异常 | 条件 |
---|---|
ArgumentOutOfRangeException | index 小于 0。 -或- index 大于 Count。 |
另请参见
- 类 BoundsCheckableList<T>
- 命名空间 Aspose.Pdf
- 程序集 Aspose.PDF