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
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Attributes When called by trusted applications, gets or sets the FileAttributes of the current FileSystemInfo. (Inherited from FileSystemInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 CreationTime When called by trusted applications, gets or sets the creation time of the current FileSystemInfo object. (Inherited from FileSystemInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Directory When it is called by trusted applications, gets an instance of the parent directory.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 DirectoryName When it is called by trusted applications, gets a string representing the directory's full path.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Exists Gets a value indicating whether a file exists. (Overrides FileSystemInfo.Exists.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Extension Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 FullName When called by trusted applications, gets the full path of the directory or file. (Inherited from FileSystemInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 LastAccessTime When called by trusted applications, gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 LastWriteTime When called by trusted applications, gets or sets the time when the current file or directory was last written to. (Inherited from FileSystemInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Length Gets the size, in bytes, of the current file.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Name Gets the name of the file. (Overrides FileSystemInfo.Name.)

Top

See Also

Reference