TransitionCollection.IndexOf(Transition, UInt32) 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 l’index de l’élément spécifié.
public:
virtual bool IndexOf(Transition ^ value, [Out] unsigned int & index) = IVector<Transition ^>::IndexOf;
bool IndexOf(Transition const& value, [Out] uint32_t & index);
public bool IndexOf(Transition value, out uint index);
Public Function IndexOf (value As Transition, ByRef index As UInteger) As Boolean
Paramètres
- value
- Transition
Valeur à rechercher dans la collection.
- index
-
UInt32
unsigned int
uint32_t
Index de l’élément à rechercher, le cas échéant.
Retours
Boolean
bool
true si un élément avec la valeur spécifiée a été trouvé ; sinon, false.
Implémente
M:Windows.Foundation.Collections.IVector
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVector1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVector1.IndexOf(
0,uint32_t@)
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