 | 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.EucalyptusAssembly: LynceeTec.Eucalyptus (in LynceeTec.Eucalyptus.dll) Version: 10.2.3317.0 , built 2025-03-17 14:55:33 UTC
Syntaxpublic int GetRowIndex(
Predicate<T> predicate
)
public:
int GetRowIndex(
Predicate<T>^ predicate
)
Parameters
- predicate PredicateT
- The condition for the match
Return Value
Int32The zero-based index of the first occurrence of an element that matches the conditions defined by predicate, if found; otherwise, –1.
Example
Usage:
m_calibrationProcessingAccessor.GetRowIndex(c => c.Id == calibId)
See Also