Click or drag to resize
SearchFieldFactoryCreate Method
Creates a new search field based on createOption.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public ISearchField Create(
	string fieldName,
	Type dataType,
	CreateSearchFieldOption createOption
)

Parameters

fieldName
Type: SystemString
Name of field to be created.
dataType
Type: SystemType
Data type of field.
createOption
Type: CMS.DataEngineCreateSearchFieldOption
Option indicating which type of field to create.

Return Value

Type: ISearchField
Search field for given option.
See Also