OptionsDesigner GetUniqueItem Method Kentico 8.1 API Reference
Returns unique value in format "prefix{number}" where number will be higher than highest number from source options. (Apply only to strings in format "prefix{number}").

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

Parameters

items
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
Source collection of items
prefix (Optional)
Type: OnlineSystem String
Prefix used in value; default value is 'Option '

Return Value

Type: OnlineString
See Also