FileExtensionVector.IndexOf(String, 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 d’une extension de nom de fichier spécifiée dans la collection.
public:
virtual bool IndexOf(Platform::String ^ value, [Out] unsigned int & index) = IVector<Platform::String ^>::IndexOf;
bool IndexOf(winrt::hstring const& value, [Out] uint32_t & index);
public bool IndexOf(string value, out uint index);
Public Function IndexOf (value As String, ByRef index As UInteger) As Boolean
Paramètres
- value
-
String
Platform::String
winrt::hstring
Extension de nom de fichier à trouver dans la collection.
- index
-
UInt32
unsigned int
uint32_t
Index de base zéro de l’extension de nom de fichier s’il est trouvé. Ce paramètre est défini sur zéro si l’extension de nom de fichier est introuvable.
Retours
bool
True si l’extension de nom de fichier est trouvée ; sinon, FALSE.
Implémente
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 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