Click or drag to resize
SearchFields Class
Search fields collection and field constatns
Inheritance Hierarchy
SystemObject
  CMS.SearchSearchFields

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax
C#
public class SearchFields : ISearchFields

The SearchFields type exposes the following members.

Constructors
Methods
  NameDescription
Protected methodAdd(ISearchField)
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 methodAdd(String, Boolean, Boolean, FuncObject, Boolean, NullableSearchAnalyzerTypeEnum)
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.
Protected methodInsertNewField
Inserts new search field into collection
Public methodPrepareContentValue
Prepares value to add to content field.
Protected methodUpdateExistingField
Updates existing search field in collection
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyItems
Search fields
Public propertyStoreValues
Indicates if field values will be retrieved and stored in collection.
Top
See Also