SearchFieldsHelperIsContentField Method |
Returns true if value of field represented by searchSettings is to be included in a designated content column in given index.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public bool IsContentField(
ISearchIndexInfo index,
SearchSettingsInfo searchSettings
)
Parameters
- index
- Type: CMS.DataEngineISearchIndexInfo
Index for which to detect whether field is a content field. Pass null to detect if field is an index field in any index type. - searchSettings
- Type: CMS.DataEngineSearchSettingsInfo
Search setting representing tested field.
Return Value
Type:
BooleanTrue if field is an index field, false otherwise.
See Also