Share via


UIElementWeakCollection.GetMany(UInt32, UIElement[]) Methode

Definition

Ruft mehrere Elemente in einem einzigen Durchlauf durch den Iterator ab.

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

Parameter

startIndex
UInt32

unsigned int

uint32_t

Der Index, aus dem der Abruf gestartet werden soll.

items
UIElement[]

Stellt das Ziel für das Ergebnis bereit. Vergrößern Sie die anfängliche Arraygröße als "Kapazität", um anzugeben, wie viele Ergebnisse abgerufen werden sollen.

Gibt zurück

UInt32

unsigned int

uint32_t

Die Anzahl der abgerufenen Elemente.

Implementiert

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

Gilt für: