BaseListControlFindString(String, Int32) Method
Finds the first item after the given index which starts with the given string. The search is not
case-sensitive.
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public int FindString(
string searchText,
int startIndex
)
Public Function FindString (
searchText As String,
startIndex As Integer
) As Integer
public:
int FindString(
String^ searchText,
int startIndex
)
member FindString :
searchText : string *
startIndex : int -> int
- searchText String
- The string for which to search.
- startIndex Int32
- The zero-based index of the item before the first item to be searched. Set
to -1 to search from the beginning of the control.
Int32The zero-based index of the first item found. Returns -1 if no match is found.