You are here: Symbol Reference > dtSearch.Engine Namespace > Interfaces > DataSource Interface > DataSource Properties > DocIsFile Property
Close
dtSearch .NET Standard API 2024.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.

Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.