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

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

Parameters

fieldName
Type: System.String
Name of field to be created.
dataType
Type: System.Type
Data type of field.
createOption
Type: CMS.DataEngine.CreateSearchFieldOption
Option indicating which type of field to create.

Return Value

Type: ISearchField
Search field for given option.
See Also