UIElementCollection.GetMany(UInt32, UIElement[]) Methode

Definition

Ruft mehrere Elemente in einem einzelnen Durchgang 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, von dem aus der Abruf gestartet werden soll.

items
UIElement[]

Stellt das Ziel für das Ergebnis bereit. Ordnen Sie die anfängliche Arraygröße als "Kapazität" an, 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[])

Hinweise

Wenn Sie mit C# oder Microsoft Visual Basic programmieren, lesen Sie CopyTo.

Gilt für: