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