Partager via


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