Click or drag to resize
SearchHelperCreateDefaultSearchSettings Method
Creates the default search settings for given column name and its data type.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 11.0.0
Syntax
C#
public static SearchSettingsInfo CreateDefaultSearchSettings(
	string name,
	Type dataType
)

Parameters

name
Type: SystemString
Name of column the SearchSettings is being created for.
dataType
Type: SystemType
Data type of the column.

Return Value

Type: SearchSettingsInfo
Search settings for given column.
Remarks
The process of default search settings creation can be customized via CreatingDefaultSearchSettings event.
See Also