Click or drag to resize

FileInfo Properties

The FileInfo type exposes the following members.

Properties
 NameDescription
Public propertyAttributes Gets or sets the FileAttributes of the current object.
(Overrides FileSystemInfoAttributes)
Public propertyCreationTime Gets the creation time of the current object.
(Overrides FileSystemInfoCreationTime)
Public propertyDirectory Return the DirectoryInfo for the parent directory.
Public propertyDirectoryName Return the the directory's name.
Public propertyExists Determines if the file exists on the system.
(Overrides FileSystemInfoExists)
Public propertyExtension Gets the string representing the extension part of the file.
(Overrides FileSystemInfoExtension)
Public propertyFullName Return the full name of the file path
(Overrides FileSystemInfoFullName)
Public propertyLastAccessTime Gets or sets the time the current file or directory was last accessed.
(Overrides FileSystemInfoLastAccessTime)
Public propertyLastWriteTime Gets or sets the time when the current file or directory was last written to.
(Overrides FileSystemInfoLastWriteTime)
Public propertyLength Return the the length of the file, in bytes.
Public propertyName Return the name of file.
(Overrides FileSystemInfoName)
Top
See Also