Click or drag to resize
SearchFieldsExtensionsAddToContentField Method
Appends data to CONTENT field. Field is created if it's not already present.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static ISearchField AddToContentField(
	this ISearchFields fields,
	Func<Object> getValueFunc
)

Parameters

fields
Type: CMS.DataEngineISearchFields
Search fields collection
getValueFunc
Type: SystemFuncObject
Function that returns data to append

Return Value

Type: ISearchField

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISearchFields. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also