AbstractInfoBaseTInfoAddContentField 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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax 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