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.

DirectoryInfo Properties

The DirectoryInfo 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 Exists Gets a value indicating whether the directory 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 Name Gets the name of this DirectoryInfo instance. (Overrides FileSystemInfo.Name.)
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Parent When it is called by trusted applications, gets the parent directory of a specified subdirectory.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Root When it is called by trusted applications, gets the root portion of a path.
Top

Community Additions

Show:
© 2016 Microsoft