Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
val
Type: System.StringThe value to compare with the filter.
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