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

The FileInfo type exposes the following members.

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

Community Additions

Show:
© 2014 Microsoft