MappingCollection.Contains method
Checks whether this collection contains a specified mapping.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Contains ( _
mapping As Mapping _
) As Boolean
'Usage
Dim instance As MappingCollection
Dim mapping As Mapping
Dim returnValue As Boolean
returnValue = instance.Contains(mapping)
public bool Contains(
Mapping mapping
)
Parameters
- mapping
Type: Microsoft.Office.Server.Search.Administration.Mapping
Return value
Type: System.Boolean
[true] if the mapping was found, [false] else.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If mapping is [null]. |