FileData Class
Represents information about a file or directory. This is a loose wrapper of the WIN32_FIND_DATA structure that contains additional path information.
Assembly: Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)
The FileData type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Attributes | Gets the file attributes. |
![]() | CreationTime | Gets the date and time when the file was created. |
![]() | IsDirectory | Gets a value that indicates whether this object represents a directory. |
![]() | LastAccessTime | Gets the date and time when the file was last accessed. |
![]() | LastWriteTime | Gets the date and time when the file was last written to. |
![]() | Name | Gets the name of the file, with no path information. |
![]() | RelativePath | Gets the path of file. The path is relative to the root directory. |
![]() | Size | Gets the size of the file, in bytes. |
This class is used by the ApplyingChange event to communicate information about the file or folder that is about to be changed.
Show:
