Updates existing search field in collection
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- newField
- Type: CMS.DataEngine ISearchField
Field with new data
Return Value
Type: ISearchFieldUpdated field
Exceptions
Exception | Condition |
---|---|
System InvalidOperationException | When StoreValues is true and we try to add already existing field but with different value. |
System InvalidOperationException | When field with given field name doesn't exist. |
See Also