次の方法で共有


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

Return value

Type: System.Boolean
[true] if the mapping was found, [false] else.

Exceptions

Exception Condition
ArgumentNullException

If mapping is [null].

See also

Reference

MappingCollection class

MappingCollection members

Microsoft.Office.Server.Search.Administration namespace