Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.FindTarget

Syntax

bool FindTarget(pVOID target, CTFIND_MODE FindMode)

Parameters

  • target [in] The target key to look for in the table
  • 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

Looks for one specified record in the table.

Return

FindTarget() return true if the record is found, false otherwise.

See Also

Find(), First(), Last(), Next(), Prev()

TOCIndex