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

Definição

Forma uma fatia da corrente ImmutableArray<T> começando num í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 onde começar esta fatia.

length
Int32

O comprimento desejado para a fatia.

Devoluções

E ImmutableArray<T> que consiste em length elementos da corrente ImmutableArray<T>, começando em start.

Aplica-se a