List.IndexOf(T) Method
Version: Available or changed with runtime version 1.0.
Searches for the specified value and returns the one-based index of the first occurrence within the entire List.
Syntax
Index := List.IndexOf(Value: T)
Parameters
List
Type: List
An instance of the List data type.
Value
Type: T
The value to locate in the List.
Return Value
Index
Type: Integer
The one-based index at which the value is found or 0 if the value does not exist in the List.
Remarks
The type T
is a dynamic type. When List
is of type Text
then T
will change to Text
. When List
is of type Integer
, then T
will change to Integer
.
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour