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

Definição

Forms uma fatia do atual ImmutableArray<T> começando em um índice especificado para um comprimento especificado.

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

O índice no qual começar essa fatia.

length
Int32

O tamanho desejado da fatia.

Retornos

Um ImmutableArray<T> que consiste em elementos length do atual ImmutableArray<T>, começando em start.

Aplica-se a