Share via


SwipeItems.GetMany(UInt32, SwipeItem[]) Méthode

Définition

Récupère plusieurs éléments en un seul passage par l’itérateur.

API WinUI 2 équivalente pour UWP : Microsoft.UI.Xaml.Controls.SwipeItems.GetMany (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

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

Paramètres

startIndex
UInt32

uint32_t

Index à partir duquel démarrer la récupération.

items
SwipeItem[]

Fournit la destination du résultat. Dimensionner la taille initiale du tableau en tant que « capacité » afin de spécifier le nombre de résultats à récupérer.

Retours

UInt32

uint32_t

Le nombre d'éléments à récupérer.

Implémente

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

S’applique à