Close
dtSearch Engine API for .NET Framework 2.x-4.x 2024.01
DataSource::DocIsFile Property

If True, DocName will be interpreted as the name of a file to be indexed, and dtSearch will index the contents of the file along with any data provided in DocText and DocFields.

public bool DocIsFile;

The DataSource interface provides three ways to return a binary document: DocStream (any .NET Stream object), DocBytes (a byte array), and DocIsFile (a disk file). Only one of these can be used for each document.