Click or drag to resize
ISearchFields Interface
Search fields collection and field constants

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public interface ISearchFields

The ISearchFields type exposes the following members.

Properties
  NameDescription
Public propertyItems
Search fields
Public propertyStoreValues
Indicates if field values will be retrieved and stored in collection.
Top
Methods
  NameDescription
Public methodAdd
Adds new field to collection. When field already exists, it will be updated (merged with existing one). When adding content field with it's value multiple times, the value is appended to existing content.
Public methodGet
Returns requested field. Null when field doesn't exist.
Public methodPrepareContentValue
Prepares value to add to content field.
Top
Extension Methods
  NameDescription
Public Extension MethodAddToContentField
Appends data to CONTENT field. Field is created if it's not already present.
(Defined by SearchFieldsExtensions.)
Public Extension MethodEnsureContentField
Ensures CONTENT field in collection. Field is created if it's not already present.
(Defined by SearchFieldsExtensions.)
Top
See Also