ConfigurationElementCollectionBase<T>.RemoveAt(Int32) 方法

定义

删除集合中指定索引处的元素。

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

参数

index
Int32

要移除的元素的从零开始的索引。

例外

index 小于 0。

- 或 -

index 等于或大于 Count

适用于