FileInfo Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The FileInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
Attributes | When called by trusted applications, gets or sets the FileAttributes of the current FileSystemInfo. (Inherited from FileSystemInfo.) | |
CreationTime | When called by trusted applications, gets or sets the creation time of the current FileSystemInfo object. (Inherited from FileSystemInfo.) | |
Directory | When it is called by trusted applications, gets an instance of the parent directory. | |
DirectoryName | When it is called by trusted applications, gets a string representing the directory's full path. | |
Exists | Gets a value indicating whether a file exists. (Overrides FileSystemInfo.Exists.) | |
Extension | Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.) | |
FullName | When called by trusted applications, gets the full path of the directory or file. (Inherited from FileSystemInfo.) | |
LastAccessTime | When called by trusted applications, gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.) | |
LastWriteTime | When called by trusted applications, gets or sets the time when the current file or directory was last written to. (Inherited from FileSystemInfo.) | |
Length | Gets the size, in bytes, of the current file. | |
Name | Gets the name of the file. (Overrides FileSystemInfo.Name.) |
Top