ImmutableList<T>.Builder.IList.Insert(Int32, Object) 方法
定义
将某项插入列表中指定的索引处。Inserts an item to the list at the specified index.
virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert
参数
- index
- Int32
应插入 value 的从零开始的索引。The zero-based index at which value should be inserted.
- value
- Object
要插入到列表中的对象。The object to insert into the list.
实现
例外
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ImmutableList<T>.Builder 实例被强制转换为 IList 接口时使用。It can be used only when the ImmutableList<T>.Builder instance is cast to an IList interface.