Windows Media Player 11 SDK LISTBOX.findItemÂ
Previous | Next |
LISTBOX.findItem
The findItem method searches for a given string starting with the item following the specified item index.
Syntax
Parameters
startIndex
Number (long) containing the index of the item at which to start the search.
searchString
String containing the text to search for.
Return Values
This method returns a Number (long) containing the index of the item that contains the string.
Remarks
To start the search at the first line of the list box control, use –1 as the startIndex. To continue to search for text after the first line is found, use the returned line index as the startIndex, and the search will start at the next line. This method will search for substrings and is not case-sensitive.
Requirements
Windows Media Player for Windows XP or later.
See Also
Previous | Next |