DataNavigatorFind 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: 2023.4.9.0
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