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

適用対象