HelpersExtensions FindByValue Method Kentico 8.0 API Reference
Searches the collection for a System.Web.UI.WebControls.ListItem with a System.Web.UI.WebControls.ListItem.Value property that contains the specified value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

collection
Type: OnlineSystem.Web.UI.WebControls ListItemCollection
Given collection
value
Type: OnlineSystem String
Value to search for
ignoreCase
Type: OnlineSystem Boolean
A System.Boolean indicating a case-sensitive or insensitive comparison. (true indicates a case-insensitive comparison.)

Return Value

Type: OnlineListItem
See Also