Click or drag to resize
OptionsDesignerGetUniqueItem Method
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.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static string GetUniqueItem(
	IEnumerable<string> items,
	string prefix = "Option "
)

Parameters

items
Type: System.Collections.GenericIEnumerableString
Source collection of items
prefix (Optional)
Type: SystemString
Prefix used in value; default value is 'Option '

Return Value

Type: String
See Also