Click or drag to resize
UniSelectorNewListItem Method (String, String, String)
Creates a new list item based on the given text and value.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
protected ListItem NewListItem(
	string text,
	string value,
	string securityPurpose
)

Parameters

text
Type: SystemString
Text.
value
Type: SystemString
Value.
securityPurpose
Type: SystemString
Prevents the control values from being maliciously used in a different control. A suitable value can be the control's ClientID.

Return Value

Type: ListItem
See Also