Share via


ItemCollection.GetMany(UInt32, Object[]) Metodo

Definizione

Recupera più elementi in un singolo pass-through dell'iteratore.

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

Parametri

startIndex
UInt32

unsigned int

uint32_t

Indice da cui iniziare il recupero.

items

Object[]

Platform::Object[]

IInspectable[]

Fornisce la destinazione per il risultato. Ridimensionare le dimensioni iniziali della matrice come "capacità" per specificare il numero di risultati da recuperare.

Restituisce

UInt32

unsigned int

uint32_t

Numero di elementi recuperati.

Implementazioni

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

Si applica a