Share via


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