DependencyObjectCollection.GetMany(UInt32, DependencyObject[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Nombre d'éléments renvoyés.
Implémente
1.GetMany(System.UInt32,
0[])
M:Windows.Foundation.Collections.IVector1.GetMany(unsigned int,
0[])
M:Windows.Foundation.Collections.IVector1.GetMany(uint32_t,
0[])
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour