Click or drag to resize
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.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
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: Boolean
True if field is an index field, false otherwise.
See Also