Click or drag to resize
AbstractInfoTInfoAddContentField Method
Process search settings of DataClass field and inserts required search field into search fields collection when field is marked as content field.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
protected void AddContentField(
	SearchSettingsInfo searchSetting,
	ISearchFields searchFields,
	bool stripTags = false
)

Parameters

searchSetting
Type: CMS.DataEngineSearchSettingsInfo
Search settings of DataClass field
searchFields
Type: CMS.DataEngineISearchFields
Search fields collection
stripTags (Optional)
Type: SystemBoolean
Indicates if HTML tags should be removed from content
See Also