ImmutableList<T>.Builder.Insert(Int32, T) 方法
定义
将项插入到不可变列表中的指定索引处。Inserts an item to the immutable list at the specified index.
public:
virtual void Insert(int index, T item);
public void Insert (int index, T item);
abstract member Insert : int * 'T -> unit
override this.Insert : int * 'T -> unit
Public Sub Insert (index As Integer, item As T)
参数
- index
- Int32
应插入 item 的从零开始的索引。The zero-based index at which item should be inserted.
- item
- T
要插入到不可变列表中的对象。The object to insert into the immutable list.