You are here: C++ API > Classes > dtsContainer Class > dtsContainer::extractToFile Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsContainer::extractToFile Method

Extracts the current item to a file

Syntax
C++
int extractToFile(const char* outputFile);

0 on success, non-zero on failure

An item must have been successfully retrieved through getInfoByIndex, getInfoByName, getFirst, or getNext before calling this method.