Share via


ImmutableArray<T>.Slice(Int32, Int32) メソッド

定義

指定した長さの指定したインデックスから現在のImmutableArray<T>からスライスをFormsします。

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>現在ImmutableArray<T>length から始まる start要素で構成される 。

適用対象