HelpersExtensions FindByValue Method Kentico 8.1 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.1.5347.20411)

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