Click or drag to resize

DirectoryResult Class

Represents a file system directory and its contained files (documents) and sub-directories.
Inheritance Hierarchy
SystemObject
  OpenDiscoverSDK.Interfaces.Platform.InventoryDirectoryResult

Namespace: OpenDiscoverSDK.Interfaces.Platform.Inventory
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
[DataContractAttribute]
public class DirectoryResult

The DirectoryResult type exposes the following members.

Constructors
 NameDescription
Public methodDirectoryResultInitializes a new instance of the DirectoryResult class
Top
Properties
 NameDescription
Public propertyCreationTimeUtc Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory.
Public propertyDirectoryID Directory unique integer ID (-1 means uninitialized).
Public propertyDocuments Only documents directly contained by this directory. This propert is only set if returned by InventoryDirectoriesAndFiles.
Public propertyDocumentsOwnedCount The number of documents contained directly in this directory, does not include sub-directories.
Public propertyErrorMessage Error message for the error that occurred enumerating the directory.
Public propertyFileAttributes Directory file system attributes.
Public propertyHasError Error occured enumerating the directory.
Public propertyIsEnumerated Is directory item completely enumerated. This property is only set by classes InventoryDirectoriesAndFiles and InventoryDirectoriesOnly.
Public propertyLastAccessTimeUtc Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.
Public propertyLastWriteTimeUtc Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
Public propertyName Directory or file name.
Public propertyNameWithTotalFileCount Name of the directory and total document count under the directory as a string. Format: "Name (count)"
Public propertyOwner Gets or sets the file system owner.
Public propertyParentDirectoryID Parent directory unique integer ID (-1 means no parent).
Public propertyPath Full path of the directory
Public propertyResult Result of the enumeration of this directory item.
Public propertyTotalDirectoryCount Total number of sub-directories in this directory.
Public propertyTotalDocumentCount Total number of documents contained directly in this directory and in all sub-directories nested under this directory (inclused sub-directories of sub.
Public propertyTotalSizeInBytes Total size, in bytes, of all the documents in this directory and in all sub-directories nested under this directory.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also