Base List ControlFind String Exact(String) Method
Finds the first item in the list control that matches the specified string. The search is not
case-sensitive.
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
The zero-based index of the first item found. Returns -1 if no match is found.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public int FindStringExact(
string searchText
)VB
Public Function FindStringExact (
searchText As String
) As IntegerC++
public:
int FindStringExact(
String^ searchText
)F#
member FindStringExact :
searchText : string -> int Parameters
- searchText String
- The string for which to search
Return Value
Int32The zero-based index of the first item found. Returns -1 if no match is found.