You are here: C++ Support Classes > dtSearch Namespace > Classes > DDataSourceBase2 Class > DDataSourceBase2::getCurrentDoc Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DDataSourceBase2::getCurrentDoc Method
Syntax
C++
virtual int getCurrentDoc(dtsInputStream& dest) = 0;
Parameters
Description
dtsInputStream& dest
Structure to receive the dtsInputStream for the document
pData
The value of dtsDataSource.pData

0 on success, or -1 if the document could not be accessed.

Get the document whose properties were just returned by getNextDocInfo or getDocInfoByName

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.