Click or drag to resize

FileInfo Properties

The FileInfo type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets or sets the attributes for the current file or directory.
(Inherited from FileSystemInfo.)
Public propertyCreationTime
Gets or sets the creation time of the current file or directory.
(Inherited from FileSystemInfo.)
Public propertyCreationTimeUtc
Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory.
(Inherited from FileSystemInfo.)
Public propertyDirectory
Gets an instance of the parent directory.
Public propertyDirectoryName
Gets a string representing the directory's full path.
Protected propertyDisplayPath
Returns the path as a string.
(Inherited from FileSystemInfo.)
Public propertyEntryInfo
[AlphaFS] Gets the instance of the FileSystemEntryInfo class.
(Inherited from FileSystemInfo.)
Public propertyExists
Gets a value indicating whether the file exists.
(Overrides FileSystemInfoExists.)
Public propertyExtension
Gets the string representing the extension part of the file.
(Inherited from FileSystemInfo.)
Public propertyFullName
Gets the full path of the directory or file.
(Inherited from FileSystemInfo.)
Protected propertyIsDirectory
[AlphaFS] The initial "IsDirectory" indicator that was passed to the constructor.
(Inherited from FileSystemInfo.)
Public propertyIsReadOnly
Gets or sets a value that determines if the current file is read only.
Public propertyLastAccessTime
Gets or sets the time the current file or directory was last accessed.
(Inherited from FileSystemInfo.)
Public propertyLastAccessTimeUtc
Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.
(Inherited from FileSystemInfo.)
Public propertyLastWriteTime
Gets or sets the time when the current file or directory was last written to.
(Inherited from FileSystemInfo.)
Public propertyLastWriteTimeUtc
Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
(Inherited from FileSystemInfo.)
Public propertyLength
Gets the size, in bytes, of the current file.
Protected propertyLongFullName
The full path of the file system object in Unicode (LongPath) format.
(Inherited from FileSystemInfo.)
Public propertyName
Gets the name of the file.
(Overrides FileSystemInfoName.)
Protected propertyTransaction
[AlphaFS] Represents the KernelTransaction that was passed to the constructor.
(Inherited from FileSystemInfo.)
Top
See Also