Click or drag to resize

DirectoryItemCreateHierarchy Method

Creates a DirectoryItem hierarchy from a input document list where each document in list has a FilePath property that points to a valid file path and these paths are used to build a directory hierarchy. The documents should have a common root folder path.

Namespace: OpenDiscoverSDK.Interfaces.Platform.Inventory.Legacy
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public static DirectoryItem CreateHierarchy(
	List<Document> documents
)

Parameters

documents  ListDocument
Input document list.

Return Value

DirectoryItem
A DirectoryItem object that re-creates the folder/file hierarchy of the list of documents.
Remarks
This method is used by the DocumentDataArchiveReader class to
See Also