ImmutableArray<T>.Slice(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.
Forms a slice out of the current ImmutableArray<T> starting at a specified index for a specified length.
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)
Parameters
- start
- Int32
The index at which to begin this slice.
- length
- Int32
The desired length for the slice.
Returns
An ImmutableArray<T> that consists of length
elements from the current ImmutableArray<T>, starting at start
.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.