UniSelectorNewListItem Method (String, String, String) |
Creates a new list item based on the given text and value.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax 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:
ListItemSee Also