Share via


DependencyObjectCollection.GetMany(UInt32, DependencyObject[]) Méthode

Définition

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

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

Paramètres

startIndex
UInt32

unsigned int

uint32_t

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

items
DependencyObject[]

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

unsigned int

uint32_t

Nombre d'éléments renvoyés.

Implémente

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

S’applique à