Partager via


TriggerActionCollection.IndexOf(TriggerAction, UInt32) Méthode

Définition

Récupère l’index de l’élément spécifié.

public:
 virtual bool IndexOf(TriggerAction ^ value, [Out] unsigned int & index) = IVector<TriggerAction ^>::IndexOf;
bool IndexOf(TriggerAction const& value, [Out] uint32_t & index);
public bool IndexOf(TriggerAction value, out uint index);
Public Function IndexOf (value As TriggerAction, ByRef index As UInteger) As Boolean

Paramètres

value
TriggerAction

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.IVector1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,uint32_t@)

Remarques

Notes

L’API Microsoft .NET équivalente est IndexOf.

S’applique à

Voir aussi