TdxMemIndex.GotoNearest(TRecordBuffer,TLocateOptions,Integer) Method
Locates a record with a specific value in ExpressMemData.
Declaration
function GotoNearest(const ABuffer: TRecordBuffer; ALocateOptions: TLocateOptions; out AIndex: Integer): Boolean;
Parameters
Name | Type |
---|---|
ABuffer | TRecordBuffer |
ALocateOptions | TLocateOptions |
AIndex | Integer |
Returns
Type |
---|
Boolean |
Remarks
The GotoNearest method is called to locate a record that contains the value specified by the Buffer parameter in the current ExpressMemData instance. The Index parameter determines the index of the resultant record. This method returns True if the search was successful; Otherwise False.
See Also