語言

OrderedDictionary<TKey,TValue>.RemoveAt(Int32) 方法

定義

移除 IList<T> 指定索引的項目。

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)

參數

index
Int32

要移除的項目的零基指數。

實作

例外狀況

index 小於 0 或大於或等於 Count。

適用於