Click or drag to resize
SearchHelperCreateSearchSettings Method (String, IDictionaryString, Boolean, String)
Creates new SearchSettingsInfo for a field from given parameters.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
public static SearchSettingsInfo CreateSearchSettings(
	string name,
	IDictionary<string, bool> flags,
	string fieldname
)

Parameters

name
Type: SystemString
Name of the search field.
flags
Type: System.Collections.GenericIDictionaryString, Boolean
A dictionary of flag names and their values.
fieldname
Type: SystemString
Custom field name.

Return Value

Type: SearchSettingsInfo
SearchSettingsInfo initialized from given parameters.
See Also