TableRowCollection.RemoveAt(Int32) Method

Definition

从集合中移除索引指定的项。Removes an item, specified by index, from the collection.

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

Parameters

index
Int32

从零开始的索引,该索引指定要删除的集合项。A zero-based index that specifies the collection item to remove.

Implements

Exceptions

index 小于零,或 index 大于或等于 Count 时引发。Raised when index is less than zero, or when index is greater than or equal to Count.

Remarks

可以调整其余收集项的索引,以反映删除的集合项。Indices for remaining collection items may be adjusted to reflect the removed collection item.

Applies to

See also