ImmutableSortedSet<T>.IList.RemoveAt(Int32) 方法

定义

移除集内指定索引处的项。Removes the item at the specified index of the set.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

参数

index
Int32

要删除的项的从零开始的索引。The zero-based index of the item to remove.

实现

异常

该集为只读,或具有固定大小。The set is read-only or has a fixed size.

注解

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 ImmutableSortedSet<T> 实例被强制转换为 IList 接口时使用。It can be used only when the ImmutableSortedSet<T> instance is cast to an IList interface.

System.object NuGet 包System.Collections.Immutable NuGet package

关于不可变集合以及如何安装About immutable collections and how to install

适用于