Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.FindRowid

Syntax

bool FindRowid(CTROWID rowid, CTFIND_MODE FindMode)

Parameters

  • rowid [in] Rowid of record being sought
  • FindMode [in] The find mode for the search. Valid values for the find mode are shown in the "Find Modes".
    Notice that when the FindMode CTFIND_EQ is used, all segments that compose the index must be fulfilled, and also the index cannot allow duplicates.

Description

Verifies if a record exist at a given ROWID value. To retrieve the record ROWID, use GetRowid(). One table has the ROWID record enabled by default at creation time. To verify if one table has support to ROWID, use CTTable.HasRowid().

Return

FindRowid() returns true if the record is located, false otherwise.

See Also

CTTable.HasRowid(), GetRowid()

TOCIndex