SortedList<TKey,TValue>.RemoveAt(Int32) 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
移除 SortedList<TKey,TValue> 的指定索引处的元素。
public:
 void RemoveAt(int index);public void RemoveAt (int index);member this.RemoveAt : int -> unitPublic Sub RemoveAt (index As Integer)参数
- index
- Int32
要移除的元素的从零开始的索引。
例外
注解
元素向上移动以填充开放点,因此此方法是 O (n) 操作,其中 n 为 Count。