Inventory Result Class
Contains the results of an inventoried directory InventoryLegacy.
Definition
Namespace: OpenDiscoverSDK.Interfaces.Platform.Inventory.Legacy
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
[DataContractAttribute]
public class InventoryResult- Inheritance
- Object InventoryResult
Constructors
| InventoryResult | Default constructor. |
| InventoryResult(ListString) | Constructor. Only the Documents property gets set by this constructor. |
| InventoryResult(DirectoryItem, ListDocument) | Constructor. Reserved and used by internal code to populate this result object. |
Properties
| Documents | For DirectoriesAndDocuments, this property contains all documents (files) that are contained directly in the inventoried directory and also under all sub-folders (recursively). For InputDirectoryDocumentsOnly this property only contains all the documents in the inventoried directory (no sub-directory documents). For all other InventoryMode modes this property is not set. |
| Root | Root directory item result of an inventoried directory. The "root" directory is the directory inventoried. |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |