ImmutableArray<T>.Slice(Int32, Int32) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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.