MappingCollection.IndexOf - Méthode
Recherche l'objet spécifié et retourne l'index de la correspondance.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
mapping As Mapping _
) As Integer
'Utilisation
Dim instance As MappingCollection
Dim mapping As Mapping
Dim returnValue As Integer
returnValue = instance.IndexOf(mapping)
public int IndexOf(
Mapping mapping
)
Paramètres
- mapping
Type : Microsoft.Office.Server.Search.Administration.Mapping
Valeur renvoyée
Type : System.Int32
Index de base zéro de la première occurrence de la mise en correspondance au sein de l'ensemble de la collection, ou -1 si elle n'a pas été trouvé.
Voir aussi
Référence
Microsoft.Office.Server.Search.Administration - Espace de noms