Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileInfo Properties

 

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

NameDescription
System_CAPS_pubpropertyAttributes

Gets or sets the attributes for the current file or directory.(Inherited from FileSystemInfo.)

System_CAPS_pubpropertyCreationTime

Gets or sets the creation time of the current file or directory.(Inherited from FileSystemInfo.)

System_CAPS_pubpropertyCreationTimeUtc

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

System_CAPS_pubpropertyDirectory

Gets an instance of the parent directory.

System_CAPS_pubpropertyDirectoryName

Gets a string representing the directory's full path.

System_CAPS_pubpropertyExists

Gets a value indicating whether a file exists.(Overrides FileSystemInfo.Exists.)

System_CAPS_pubpropertyExtension

Gets the string representing the extension part of the file.(Inherited from FileSystemInfo.)

System_CAPS_pubpropertyFullName

Gets the full path of the directory or file.(Inherited from FileSystemInfo.)

System_CAPS_pubpropertyIsReadOnly

Gets or sets a value that determines if the current file is read only.

System_CAPS_pubpropertyLastAccessTime

Gets or sets the time the current file or directory was last accessed.(Inherited from FileSystemInfo.)

System_CAPS_pubpropertyLastAccessTimeUtc

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

System_CAPS_pubpropertyLastWriteTime

Gets or sets the time when the current file or directory was last written to.(Inherited from FileSystemInfo.)

System_CAPS_pubpropertyLastWriteTimeUtc

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

System_CAPS_pubpropertyLength

Gets the size, in bytes, of the current file.

System_CAPS_pubpropertyName

Gets the name of the file.(Overrides FileSystemInfo.Name.)

Return to top
Show:
© 2017 Microsoft