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

Definición

Recupera varios elementos en un solo paso a través del 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

Índice desde el que se va a iniciar la recuperación.

items

Object[]

Platform::Object[]

IInspectable[]

Proporciona el destino del resultado. Ajustar el tamaño de la matriz inicial como una "capacidad" para especificar cuántos resultados se deben recuperar.

Devoluciones

UInt32

unsigned int

uint32_t

Número de elementos recuperados.

Implementaciones

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[])

Se aplica a