Sdílet prostřednictvím


FileData Members

Represents information about a file or directory. This is a loose wrapper of the WIN32_FIND_DATA structure that contains additional path information.

The following tables list the members exposed by the FileData type.

Public Constructors

  Name Description
Public method FileData Initializes a new instance of the FileData class.

Top

Public Properties

  Name Description
Public property Attributes Gets the file attributes.
Public property CreationTime Gets the date and time when the file was created.
Public property IsDirectory Gets a value that indicates whether this object represents a directory.
Public property LastAccessTime Gets the date and time when the file was last accessed.
Public property LastWriteTime Gets the date and time when the file was last written to.
Public property Name Gets the name of the file, with no path information.
Public property RelativePath Gets the path of file. The path is relative to the root directory.
Public property Size Gets the size of the file, in bytes.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Bb904375.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

FileData Class
Microsoft.Synchronization.Files Namespace