Click or drag to resize
SearchDocumentExtensionsInsertSearchField Method
Inserts given search field and it's value into search document.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static void InsertSearchField(
	this ISearchDocument document,
	ISearchField field
)

Parameters

document
Type: CMS.DataEngineISearchDocument
Search document
field
Type: CMS.DataEngineISearchField
Search field

Usage Note

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