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 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
dataType
Type: System.StringThe data type to validate.
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