Click or drag to resize
SearchDocumentAdd Method (String, Object, Boolean, Boolean)
Adds new field data to the search document.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public void Add(
	string name,
	Object value,
	bool store,
	bool tokenize
)

Parameters

name
Type: SystemString
Name of field.
value
Type: SystemObject
Field data.
store
Type: SystemBoolean
Indicates whether value should be stored in a retrievable representation. Considered only if index does not accept this information upon index definition.
tokenize
Type: SystemBoolean
Indicates whether value should be tokenized. Considered only if index does not accept this information upon index definition.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when filed of given name is already present in the document.
See Also