Summary
Specifies a file name to use as common metadata using a delegate so that the common metadata document can be specific to the input document.
Syntax
public DirectoryMeta WithMetadataFile(DocumentConfig metadataFileName, bool inherited = false, bool replace = false)
Parameters
| Name |
Type |
Description |
| metadataFileName |
DocumentConfig |
A delegate that returns a bool indicating if the current document contains the metadata you want to use. |
| inherited |
bool |
If set to true, metadata from documents with this file name will be inherited by documents in nested directories. |
| replace |
bool |
If set to true, metadata from this document will replace any existing metadata on the target document. |
Return Value