Click or drag to resize

DirectoryItem Properties

The DirectoryItem type exposes the following members.

Properties
 NameDescription
Public propertyAttributes Directory file system attributes.
Public propertyCreationTimeUtc Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory.
Public propertyDocuments Child documents directly contained by this directory.
Public propertyErrorMessage Error message for the error that occurred enumerating the directory.
Public propertyHasError Error occured enumerating the directory.
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 propertyMembers Returns the sub-directory items of this instance first and then the document items of this instance.
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 propertyPath Full path of the directory
Public propertyResult Result of the enumeration of this directory item.
Public propertySubDirectories Sub-directories 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
See Also