Partager via


HttpLanguageHeaderValueCollection.IndexOf(Language, UInt32) Méthode

Définition

Récupère l’index d’un language dans la collection.

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

Paramètres

value
Language

Élément à rechercher dans httpLanguageHeaderValueCollection.

index
UInt32

unsigned int

uint32_t

Index de l’élément Language dans httpLanguageHeaderValueCollection.

Si l’élément est trouvé, il s’agit de l’index de base zéro de l’élément ; sinon, ce paramètre est 0.

Retours

Boolean

bool

Indique si l’élément est trouvé.

true si l’élément Langue est 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@)

S’applique à