FileSystemInfo 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 FileSystemInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
Attributes | When called by trusted applications, gets or sets the FileAttributes of the current FileSystemInfo. | |
CreationTime | When called by trusted applications, gets or sets the creation time of the current FileSystemInfo object. | |
Exists | Gets a value indicating whether the file or directory exists. | |
Extension | Gets the string representing the extension part of the file. | |
FullName | When called by trusted applications, gets the full path of the directory or file. | |
LastAccessTime | When called by trusted applications, gets or sets the time the current file or directory was last accessed. | |
LastWriteTime | When called by trusted applications, gets or sets the time when the current file or directory was last written to. | |
Name | For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory. |
Top