Click or drag to resize
SearchHelper.CreateSearchSettings Method (String, IDictionary<String, Boolean>, String)
Creates new SearchSettingsInfo for a field from given parameters.

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

Parameters

name
Type: System.String
Name of the search field.
flags
Type: System.Collections.Generic.IDictionary<String, Boolean>
A dictionary of flag names and their values.
fieldname
Type: System.String
Custom field name.

Return Value

Type: SearchSettingsInfo
SearchSettingsInfo initialized from given parameters.
See Also