ImmutableArray<T>.IImmutableList<T>.RemoveAt(Int32) 方法

定义

返回一个数组,其中位于指定位置的元素已被移除。Returns an array with the element at the specified position removed.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.RemoveAt(int index) = System::Collections::Immutable::IImmutableList<T>::RemoveAt;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.RemoveAt (int index);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveAt : int -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveAt : int -> System.Collections.Immutable.IImmutableList<'T>
Function RemoveAt (index As Integer) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveAt

参数

index
Int32

要从返回的数组中移除的元素的从 0 开始的索引。The 0-based index of the element to remove from the returned array.

返回

IImmutableList<T>

已移除指定项的新数组。A new array with the specified item removed.

实现

注解

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

适用于