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.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- index
- Type: CMS.DataEngine ISearchIndexInfo
Search index
- searchFields (Optional)
- Type: CMS.DataEngine ISearchFields
Search fields collection
Return Value
Type: ISearchFieldsSee Also