KGy SOFT

FastBindingListTFindCore Method

KGy SOFT Core Libraries Help
Searches for the index of the item that has the specified property descriptor with the specified value.
The base implementation performs a linear search on the items.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.1
Syntax

protected virtual int FindCore(
	PropertyDescriptor property,
	Object key
)

Parameters

property
Type: System.ComponentModelPropertyDescriptor
A PropertyDescriptor that specifies the property to search for.
key
Type: SystemObject
The value of property to match.

Return Value

Type: Int32
The zero-based index of the item that matches the property descriptor and contains the specified value.
Remarks

See Also

Reference