Click or drag to resize
SearchDocumentExtensionsAddSearchField Method
Adds given search field to search document.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public static void AddSearchField(
	this SearchDocument document,
	ISearchField field
)

Parameters

document
Type: CMS.DataEngineSearchDocument
Search document to add field to.
field
Type: CMS.DataEngineISearchField
Search field to be added.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SearchDocument. 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