Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FileInfo Properties

FileInfo Properties

The FileInfo type exposes the following members.

  Name Description
Public property Supported by the XNA Framework Attributes Gets or sets the attributes for the current file or directory. (Inherited from FileSystemInfo.)
Public property Supported by the XNA Framework CreationTime Gets or sets the creation time of the current file or directory. (Inherited from FileSystemInfo.)
Public property CreationTimeUtc Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory. (Inherited from FileSystemInfo.)
Public property Supported by the XNA Framework Directory Gets an instance of the parent directory.
Public property Supported by the XNA Framework DirectoryName Gets a string representing the directory's full path.
Public property Supported by the XNA Framework Exists Gets a value indicating whether a file exists. (Overrides FileSystemInfo.Exists.)
Public property Supported by the XNA Framework Extension Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.)
Public property Supported by the XNA Framework FullName Gets the full path of the directory or file. (Inherited from FileSystemInfo.)
Public property IsReadOnly Gets or sets a value that determines if the current file is read only.
Public property Supported by the XNA Framework LastAccessTime Gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.)
Public property LastAccessTimeUtc Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. (Inherited from FileSystemInfo.)
Public property Supported by the XNA Framework LastWriteTime Gets or sets the time when the current file or directory was last written to. (Inherited from FileSystemInfo.)
Public property LastWriteTimeUtc Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. (Inherited from FileSystemInfo.)
Public property Supported by the XNA Framework Length Gets the size, in bytes, of the current file.
Public property Supported by the XNA Framework Name Gets the name of the file. (Overrides FileSystemInfo.Name.)
Top
Show:
© 2015 Microsoft