ImmutableArray<T>.RemoveAt(Int32) 方法

定义

返回一个数组,其中位于指定位置的元素已被移除。

public:
 System::Collections::Immutable::ImmutableArray<T> RemoveAt(int index);
public System.Collections.Immutable.ImmutableArray<T> RemoveAt (int index);
member this.RemoveAt : int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function RemoveAt (index As Integer) As ImmutableArray(Of T)

参数

index
Int32

要从返回的数组中移除的元素的从 0 开始的索引。

返回

ImmutableArray<T>

一个新数组,其中位于指定索引处的项已被移除。

适用于