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

定義

指定した長さの指定したインデックスから現在の 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>

ImmutableArray<T>現在ImmutableArray<T>length要素から始まるstart要素で構成される値です。

適用対象