ImmutableSortedSet<T>.IList<T>.Insert(Int32, T) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在集内指定索引的位置插入项。
virtual void System.Collections.Generic.IList<T>.Insert(int index, T item) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert (int index, T item);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
Sub Insert (index As Integer, item As T) Implements IList(Of T).Insert
参数
- index
- Int32
应插入 item
的从零开始的索引。
- item
- T
要插入到集内的对象。
实现
注解
此成员是显式接口成员的实现。 它只能在 ImmutableSortedSet<T> 实例被强制转换为 IList<T> 接口时使用。
System.Collections.Immutable NuGet 包
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈