Share via


ItemCollection.GetMany(UInt32, Object[]) Método

Definição

Recupera vários elementos em uma única passagem pelo iterador.

public:
 virtual unsigned int GetMany(unsigned int startIndex, Platform::Array <Platform::Object ^> ^ items) = IVector<Platform::Object ^>::GetMany;
uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <IInspectable const&> & items);
public uint GetMany(uint startIndex, object[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As Object()) As UInteger

Parâmetros

startIndex
UInt32

unsigned int

uint32_t

O índice do qual iniciar a recuperação.

items

Object[]

Platform::Object[]

IInspectable[]

Fornece o destino do resultado. Dimensione o tamanho inicial da matriz como uma "capacidade" para especificar quantos resultados devem ser recuperados.

Retornos

UInt32

unsigned int

uint32_t

O número de itens recuperados.

Implementações

M:Windows.Foundation.Collections.IVector1.GetMany(System.UInt32,0[]) M:Windows.Foundation.Collections.IVector1.GetMany(unsigned int,0[]) M:Windows.Foundation.Collections.IVector1.GetMany(uint32_t,0[])

Aplica-se a