ManagedPropertyCustomFilter.IsMatching method

Determines whether the specified value matches the custom filter.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function IsMatching ( _
    val As String _
) As Boolean
'Usage
Dim instance As ManagedPropertyCustomFilter
Dim val As String
Dim returnValue As Boolean

returnValue = instance.IsMatching(val)
public bool IsMatching(
    string val
)

Parameters

Return value

Type: System.Boolean
true if the specified value matches the custom filter; otherwise, false.

Exceptions

Exception Condition
ArgumentException

The val is null .

InvalidOperationException

Custom filter configuration is inconsistent during lookup.

Remarks

This method determines whether the specified value matches the custom filter based on the values of the MappingType property and the DataType property.

See also

Reference

ManagedPropertyCustomFilter class

ManagedPropertyCustomFilter members

Microsoft.Office.Server.Search.WebControls namespace