Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxMemIndex.GotoNearest(TRecordBuffer,TLocateOptions,Integer) Method

Locates a record with a specific value in ExpressMemData.

#Declaration

Delphi
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