Click or drag to resize

EntityViewBaseTEntityFind Method

Returns the index of the row that has the given PropertyDescriptor.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected virtual int Find(
	PropertyDescriptor property,
	Object key
)

Parameters

property
Type: System.ComponentModelPropertyDescriptor
The PropertyDescriptor to search on.
key
Type: SystemObject
The value of the property parameter to search for.

Return Value

Type: Int32
The index of the row that has the given PropertyDescriptor.
Exceptions
ExceptionCondition
NotSupportedExceptionSupportsSearching is false.
See Also