ImmutableArray<T>.Slice(Int32, Int32) 方法

定義

Forms 從指定索引開始的目前ImmutableArray<T>配量,以指定的長度開始。

public:
 System::Collections::Immutable::ImmutableArray<T> Slice(int start, int length);
public System.Collections.Immutable.ImmutableArray<T> Slice (int start, int length);
member this.Slice : int * int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function Slice (start As Integer, length As Integer) As ImmutableArray(Of T)

參數

start
Int32

要開始此配量的索引。

length
Int32

配量所需的長度。

傳回

ImmutableArray<T>,由length來自目前 ImmutableArray<T>的專案所組成,從 開始start

適用於