virtual bool CRBaseEx::Seek(ULONG nKeys, CKeyInfo pKeyInfo[], DBSEEK nSeekOptions=DBSEEK_FIRSTEQ);

Return Value

        true if successful; otherwise false.

Parameters

        [in] nKeys:

                A value indicating the size of an array of CKeyInfo structures pointed by pKeyInfo.

        [in] pKeyInfo:

                A pointer to an array of CKeyInfo structures with the size of nKeys.

        [in] nSeekOptions:

                A data describing the seek options.

Remark

        Calls this function to directly position a cursor to a row matching a set of index keys pointed by pKeyInfo. Refers to IRowsetIndex::Seek. For how to use it, see the example Indexes.

CRBaseEx Class Overview & Class Members