 | DatabaseAccessorTGetRowIndex Method |
Searches for an element that matches the conditions defined by the specified
predicate, and returns the zero-based index of the first occurrence within the
table.
Namespace:
LynceeTec.Eucalyptus
Assembly:
LynceeTec.Eucalyptus (in LynceeTec.Eucalyptus.dll) Version: 8.1.17212.0 8_1_dev 6ff713ba, built 2019-10-03 13:47:23 UTC
Syntaxpublic int GetRowIndex(
Predicate<T> predicate
)
public:
int GetRowIndex(
Predicate<T>^ predicate
)
Parameters
- predicate
- Type: SystemPredicateT
The condition for the match
Return Value
Type:
Int32The zero-based index of the first occurrence of an element that matches the conditions defined by predicate, if found; otherwise, –1.
Examples
Usage:
m_calibrationProcessingAccessor.GetRowIndex(c => c.Id == calibId)
See Also