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