Share via


DirectoryInfo Class

Definition

Contains the properties of a directory.

public ref class DirectoryInfo sealed : Microsoft::VisualStudio::RpcContracts::FileSystem::DirectoryEntryInfo
[System.Runtime.Serialization.DataContract]
public sealed class DirectoryInfo : Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo
[<System.Runtime.Serialization.DataContract>]
type DirectoryInfo = class
    inherit DirectoryEntryInfo
Public NotInheritable Class DirectoryInfo
Inherits DirectoryEntryInfo
Inheritance
DirectoryInfo
Attributes

Constructors

DirectoryInfo(Uri, FileAttributes, DateTime, DateTime)

Initializes a new instance of the DirectoryInfo class.

Properties

Attributes

Gets the attributes of the directory entry.

(Inherited from DirectoryEntryInfo)
CreationTime

Gets the creation time for the directory entry (UTC).

(Inherited from DirectoryEntryInfo)
LastWriteTime

Gets the time when the directory entry was last written to (UTC).

(Inherited from DirectoryEntryInfo)
Uri

Gets the URI for the directory entry.

(Inherited from DirectoryEntryInfo)

Applies to