Share via


ManagedPropertyCustomFilter.IsValidDataType Method

Determines whether the specified type of data is valid.

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

Syntax

'Declaration
Public Shared Function IsValidDataType ( _
    dataType As String _
) As Boolean
'Usage
Dim dataType As String
Dim returnValue As Boolean

returnValue = ManagedPropertyCustomFilter.IsValidDataType(dataType)
public static bool IsValidDataType(
    string dataType
)

Parameters

Return Value

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

Remarks

The value of dataType is valid if it is equal to one of the following field values: DataType_Date, DataType_Numeric, or DataType_String.

See Also

Reference

ManagedPropertyCustomFilter Class

ManagedPropertyCustomFilter Members

Microsoft.Office.Server.Search.WebControls Namespace