Share via


SwipeItems.GetMany(UInt32, SwipeItem[]) Method

Definition

Retrieves multiple elements in a single pass through the iterator.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItems.GetMany (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <SwipeItem const&> & items);
public uint GetMany(uint startIndex, SwipeItem[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As SwipeItem()) As UInteger

Parameters

startIndex
UInt32

uint32_t

The index from which to start retrieval.

items
SwipeItem[]

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

uint32_t

The number of items retrieved.

Implements

M:Windows.Foundation.Collections.IVector1.GetMany(System.UInt32,0[]) M:Windows.Foundation.Collections.IVector1.GetMany(uint32_t,0[])

Applies to