Directory |
[DataContractAttribute] public class DirectoryItem
The DirectoryItem type exposes the following members.
| Name | Description | |
|---|---|---|
| DirectoryItem | Initializes a new instance of the DirectoryItem class |
| Name | Description | |
|---|---|---|
| Attributes | Directory file system attributes. | |
| CreationTimeUtc | Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory. | |
| Documents | Child documents directly contained by this directory. | |
| ErrorMessage | Error message for the error that occurred enumerating the directory. | |
| HasError | Error occured enumerating the directory. | |
| LastAccessTimeUtc | Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. | |
| LastWriteTimeUtc | Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. | |
| Members | Returns the sub-directory items of this instance first and then the document items of this instance. | |
| Name | Directory or file name. | |
| NameWithTotalFileCount | Name of the directory and total document count under the directory as a string. Format: "Name (count)" | |
| Owner | Gets or sets the file system owner. | |
| Path | Full path of the directory | |
| Result | Result of the enumeration of this directory item. | |
| SubDirectories | Sub-directories of this directory item. | |
| TotalDirectoryCount | Total number of sub-directories in this directory. | |
| TotalDocumentCount | Total number of documents contained directly in this directory and in all sub-directories nested under this directory (inclused sub-directories of sub. | |
| TotalSizeInBytes | Total size, in bytes, of all the documents in this directory and in all sub-directories nested under this directory. |
| Name | Description | |
|---|---|---|
| CreateHierarchy | 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. | |
| 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) |