BoundsCheckableList1.RemoveAt
BoundsCheckableList<T>.RemoveAt 方法
移除 System.Collections.Generic.List 中指定索引的元素。
public void RemoveAt(int index)
| 参数 | 类型 | 描述 |
|---|---|---|
| index | Int32 | 要移除的元素的零基索引。 |
异常
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException | index 小于 0。 -或- index 等于或大于 Count。 |
移除 System.Collections.Generic.List 中指定索引的元素。
public void RemoveAt(int index)
| 参数 | 类型 | 描述 |
|---|---|---|
| index | Int32 | 要移除的元素的零基索引。 |
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException | index 小于 0。 -或- index 等于或大于 Count。 |