Edit

Share via


DirectoryInfo Class

Definition

public ref class DirectoryInfo sealed : Microsoft::IO::FileSystemInfo
public sealed class DirectoryInfo : Microsoft.IO.FileSystemInfo
type DirectoryInfo = class
    inherit FileSystemInfo
Public NotInheritable Class DirectoryInfo
Inherits FileSystemInfo
Inheritance

Constructors

DirectoryInfo(String)

Fields

FullPath (Inherited from FileSystemInfo)
OriginalPath (Inherited from FileSystemInfo)

Properties

Attributes (Inherited from FileSystemInfo)
CreationTime (Inherited from FileSystemInfo)
CreationTimeUtc (Inherited from FileSystemInfo)
Exists (Inherited from FileSystemInfo)
Extension (Inherited from FileSystemInfo)
FullName (Inherited from FileSystemInfo)
LastAccessTime (Inherited from FileSystemInfo)
LastAccessTimeUtc (Inherited from FileSystemInfo)
LastWriteTime (Inherited from FileSystemInfo)
LastWriteTimeUtc (Inherited from FileSystemInfo)
LinkTarget (Inherited from FileSystemInfo)
Name (Inherited from FileSystemInfo)
Parent
Root

Methods

Create()
CreateAsSymbolicLink(String) (Inherited from FileSystemInfo)
CreateSubdirectory(String)
Delete()
Delete(Boolean)
EnumerateDirectories()
EnumerateDirectories(String, EnumerationOptions)
EnumerateDirectories(String, SearchOption)
EnumerateDirectories(String)
EnumerateFiles()
EnumerateFiles(String, EnumerationOptions)
EnumerateFiles(String, SearchOption)
EnumerateFiles(String)
EnumerateFileSystemInfos()
EnumerateFileSystemInfos(String, EnumerationOptions)
EnumerateFileSystemInfos(String, SearchOption)
EnumerateFileSystemInfos(String)
GetDirectories()
GetDirectories(String, EnumerationOptions)
GetDirectories(String, SearchOption)
GetDirectories(String)
GetFiles()
GetFiles(String, EnumerationOptions)
GetFiles(String, SearchOption)
GetFiles(String)
GetFileSystemInfos()
GetFileSystemInfos(String, EnumerationOptions)
GetFileSystemInfos(String, SearchOption)
GetFileSystemInfos(String)
GetObjectData(SerializationInfo, StreamingContext) (Inherited from FileSystemInfo)
MoveTo(String)
Refresh() (Inherited from FileSystemInfo)
ResolveLinkTarget(Boolean) (Inherited from FileSystemInfo)
ToString() (Inherited from FileSystemInfo)

Applies to