ImmutableList<T>.Builder.GetRange(Int32, Int32) 方法

定義

為來源不可變清單中的項目範圍建立淺層複本。

public:
 virtual System::Collections::Immutable::ImmutableList<T> ^ GetRange(int index, int count);
public:
 System::Collections::Immutable::ImmutableList<T> ^ GetRange(int index, int count);
public System.Collections.Immutable.ImmutableList<T> GetRange (int index, int count);
abstract member GetRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
override this.GetRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
member this.GetRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
Public Function GetRange (index As Integer, count As Integer) As ImmutableList(Of T)

參數

index
Int32

以零為起始的索引,此為範圍起始處。

count
Int32

範圍中的項目數。

傳回

來源不可變清單中項目範圍的淺層複本。

適用於