Close
dtSearch .NET Standard API 2023.02
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.

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.