TrySingle Method (IFilteredRecordCollection<TRecord>)
- Last UpdatedApr 08, 2026
- 1 minute read
bool TrySingle(
int recordNumber,
Action<TRecord> action,
LockType tableLockType,
LockType recordLockType
)
bool TrySingle(
int recordNumber,
Action<TRecord^>^ action,
LockType tableLockType,
LockType recordLockType
)
Parameters
- recordNumber
- The IRecord.RecordNumber of the record.
- action
- The Action to perform on the record.
- tableLockType
- The TRecord table lock type for the scope of the action.
- recordLockType
- The TRecord record lock type for the scope of the action.
Return Value
true if a record was found; otherwise false.