ImmutableArray<T>.RemoveAt(Int32) 方法

定义

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

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 开始的索引。The 0-based index of the element to remove from the returned array.

返回

一个新数组,其中位于指定索引处的项已被移除。A new array with the item at the specified index removed.

适用于