MappingCollection.IndexOf method
Searches for the specified object and returns the index of the match.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function IndexOf ( _
mapping As Mapping _
) As Integer
'Usage
Dim instance As MappingCollection
Dim mapping As Mapping
Dim returnValue As Integer
returnValue = instance.IndexOf(mapping)
public int IndexOf(
Mapping mapping
)
Parameters
- mapping
Type: Microsoft.Office.Server.Search.Administration.Mapping
Return value
Type: System.Int32
The zero-based index of the first occurrence of the mapping within the entire collection, or -1 if it was not found.