UIElementCollection.GetMany(UInt32, UIElement[]) Method

Definition

Retrieves multiple elements in a single pass through the iterator.

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

Parameters

startIndex
UInt32

The index from which to start retrieval.

items
UIElement[]

Provides the destination for the result. Size the initial array size as a "capacity" in order to specify how many results should be retrieved.

Returns

UInt32

The number of items retrieved.

Implements

Windows.Foundation.Collections.IVector`1.GetMany(System.UInt32,`0[])

Remarks

If you are programming using C# or Microsoft Visual Basic, see CopyTo.

Applies to