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: 11.0.0
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