KaxListBoxFindItemIndexByValue Method (String, Boolean) |
Finds the index of the item whose
Value property is the same as the specified value.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic int FindItemIndexByValue(
string value,
bool ignoreCase
)
Public Function FindItemIndexByValue (
value As String,
ignoreCase As Boolean
) As Integer
public:
int FindItemIndexByValue(
String^ value,
bool ignoreCase
)
member FindItemIndexByValue :
value : string *
ignoreCase : bool -> int
Parameters
- value
- Type: SystemString
The value. - ignoreCase
- Type: SystemBoolean
if set to true case insensitive comparison is made.
Return Value
Type:
Int32
The index of the item whose
Value property is the same as the specified value. -1 if no item is found.
See Also