Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DirectoryInfo Properties

The properties of the DirectoryInfo class are listed here. For a complete list of DirectoryInfo class members, see the DirectoryInfo Members topic.

Public Properties

public propertyAttributes (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets or sets the FileAttributes of the current FileSystemInfo.
public propertyCreationTime (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets or sets the creation time of the current FileSystemInfo object.
public propertyCreationTimeUtc (inherited from FileSystemInfo) Gets or sets the creation time, in coordinated universal time (UTC), of the current FileSystemInfo object.
public propertyExists

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating whether the directory exists.
public propertyExtension (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets the string representing the extension part of the file.
public propertyFullName (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets the full path of the directory or file.
public propertyLastAccessTime (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Overridden. Gets the name of this DirectoryInfo instance.
public propertyParent

Supported by the .NET Compact Framework.

Gets the parent directory of a specified subdirectory.
public propertyRoot

Supported by the .NET Compact Framework.

Gets the root portion of a path.

See Also

DirectoryInfo Class | System.IO Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.