FileGetPropertiesResult Type
The FileGetPropertiesResult
data type provides the properties of files or directories. For further reference, see the following table.
Property | Type | Description |
error | In case of error, it indicates the reason why the operation failed. | |
exists | Boolean | The flag is True if the file or directory exists. If the path does not exist, the value of all the other properties is not meaningful. |
isDirectory | Boolean | The flag is True if the path represents a directory. |
name | String | For files, the name of the file. For directories, the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory. |
extension | String | For files, the extension part of the file. For directories, the empty string. |
parent | String | The parent directory's path in the shared\scripting folder. |
creationTime | DateTime | File or directory creation time. |
creationTimeUtc | DateTime | File or directory creation time, in coordinated universal time (UTC). |
lastAccessTime | DateTime | Time the file or directory was last accessed. |
lastAccessTimeUtc | DateTime | Time the file or directory was last accessed, in coordinated universal time (UTC). |
lastModificationTime | DateTime | Time when the file or directory was last written to. |
lastModificationTimeUtc | DateTime | Time when the file or directory was last written to, in coordinated universal time (UTC). |