DataListFind Method

Find an item value in the specified member of the data source

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
public int Find(
	string member,
	Object key
)

Parameters

member  String
The member in the data source to search for the key value
key  Object
The item to find in the data source

Return Value

Int32
The zero-based index of the found item or -1 if not found

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if specified member could not be found in the data source.
ArgumentNullExceptionThis is thrown if the member name or the item to find is null.

See Also