SynchronizedKeyedCollection<K,T>.SetItem(Int32, T) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将集合的指定位置的项替换为新项。
protected:
override void SetItem(int index, T item);
protected override void SetItem(int index, T item);
override this.SetItem : int * 'T -> unit
Protected Overrides Sub SetItem (index As Integer, item As T)
参数
- index
- Int32
从零开始的索引,指定集合中项的插入位置。
- item
- T
要插入到集合中的 T 类型的项。