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

Iterate over the entire container and read the directory of items.

Syntax
C++
int readDirectory();

Once a directory has been read, findInDirectoryByOrdinal can be used to retrieve information about the items in a container without further seeking in the container, and getCount will return a valid count of the items in the container.