ManagedPropertyCustomFilter.IsValidMappingType method

Determines whether the specified mapping type is valid.

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

Syntax

'Declaration
Public Shared Function IsValidMappingType ( _
    mappingType As String _
) As Boolean
'Usage
Dim mappingType As String
Dim returnValue As Boolean

returnValue = ManagedPropertyCustomFilter.IsValidMappingType(mappingType)
public static bool IsValidMappingType(
    string mappingType
)

Parameters

Return value

Type: System.Boolean
true if the specified mapping type is valid; otherwise, false.

Remarks

The value of mappingType is valid if it is equivalent to one of the following field values: MappingType_RangeMapping or MappingType_ValueMapping.

See also

Reference

ManagedPropertyCustomFilter class

ManagedPropertyCustomFilter members

Microsoft.Office.Server.Search.WebControls namespace