FileSystemInfo Properties

FileSystemInfo Properties

 

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubpropertyAttributes

Gets or sets the attributes for the current file or directory.

System_CAPS_pubpropertyCreationTime

Gets or sets the creation time of the current file or directory.

System_CAPS_pubpropertyCreationTimeUtc

Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory.

System_CAPS_pubpropertyExists

Gets a value indicating whether the file or directory exists.

System_CAPS_pubpropertyExtension

Gets the string representing the extension part of the file.

System_CAPS_pubpropertyFullName

Gets the full path of the directory or file.

System_CAPS_pubpropertyLastAccessTime

Gets or sets the time the current file or directory was last accessed.

System_CAPS_pubpropertyLastAccessTimeUtc

Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.

System_CAPS_pubpropertyLastWriteTime

Gets or sets the time when the current file or directory was last written to.

System_CAPS_pubpropertyLastWriteTimeUtc

Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.

System_CAPS_pubpropertyName

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.

Return to top
Show:
© 2016 Microsoft