ImmutableArray<T>.Slice(Int32, Int32) Método

Definición

Forms un segmento del actual ImmutableArray<T> a partir de un índice especificado para una longitud especificada.

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)

Parámetros

start
Int32

Índice en el que va a comenzar este segmento.

length
Int32

Longitud deseada del segmento.

Devoluciones

que ImmutableArray<T> consta de length elementos del objeto actual ImmutableArray<T>, empezando por start.

Se aplica a