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.

System.Object
  Microsoft.Synchronization.Files.FileData

Namespace:  Microsoft.Synchronization.Files
Assembly:  Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)

'Declaration
Public Class FileData
'Usage
Dim instance As FileData

The FileData type exposes the following members.

  NameDescription
Public methodFileDataInitializes a new instance of the FileData class.
Top

  NameDescription
Public propertyAttributesGets the file attributes.
Public propertyCreationTimeGets the date and time when the file was created.
Public propertyIsDirectoryGets a value that indicates whether this object represents a directory.
Public propertyLastAccessTimeGets the date and time when the file was last accessed.
Public propertyLastWriteTimeGets the date and time when the file was last written to.
Public propertyNameGets the name of the file, with no path information.
Public propertyRelativePathGets the path of file. The path is relative to the root directory.
Public propertySizeGets the size of the file, in bytes.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

This class is used by the ApplyingChange event to communicate information about the file or folder that is about to be changed.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: