Click or drag to resize
ISearchable Interface
Interface for search.

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

The ISearchable type exposes the following members.

Properties
  NameDescription
Public propertySearchType
Gets or sets the search object type.
Top
Methods
  NameDescription
Public methodGetSearchDocument
Returns iDocument with dependence on current object type and index.
Public methodGetSearchFields
Returns search fields collection. When existing collection is passed as argument, fields will be added to that collection. When collection is not passed, new collection will be created and return. Collection will contain field values only when collection with StoreValues property set to true is passed to the method. When method creates new collection, it is created with StoreValues property set to false.
Public methodGetSearchID
Gets the search item unique id.
Public methodGetSearchImageUrl
Returns URL to current search result item.
Public methodGetValue
Returns value of column.
Public methodSetValue
Sets value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodAddContentField
Process search settings of DataClass field and inserts required search field into search fields collection when field is marked as content field.
(Defined by SearchableExtensions.)
Public Extension MethodAddSearchableField
Process search settings of DataClass field and inserts required search field into search fields collection when field is searchable.
(Defined by SearchableExtensions.)
Top
See Also