SearchFields UpdateExistingField Method Kentico 8.1 API Reference
Updates existing search field in collection

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.0.0.0 (8.1.5347.20411)

Return Value

Type: ISearchField
Updated field
Exceptions

ExceptionCondition
OnlineSystem InvalidOperationExceptionWhen StoreValues is true and we try to add already existing field but with different value.
OnlineSystem InvalidOperationExceptionWhen field with given field name doesn't exist.
See Also