ImmutableList<T>.GetRange(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a shallow copy of a range of elements in the source immutable list.
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)
Parameters
- index
- Int32
The zero-based index at which the range starts.
- count
- Int32
The number of elements in the range.
Returns
A shallow copy of a range of elements in the source immutable list.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.