Data NavigatorFind String Exact(String, String) Method
Finds the first item whose given member 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 found item or -1 if not found
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public int FindStringExact(
string member,
string key
)VB
Public Function FindStringExact (
member As String,
key As String
) As IntegerC++
public:
int FindStringExact(
String^ member,
String^ key
)F#
member FindStringExact :
member : string *
key : string -> int Parameters
- member String
- The member in the data source to search for the string value
- key String
- The string for which to search
Return Value
Int32The zero-based index of the found item or -1 if not found
Exceptions
| ArgumentNullException | This is thrown if the member name or the item to find is null. |
| ArgumentOutOfRangeException | This is thrown if specified member could not be found in the data source. |