Directory Class

Assembly
Pri.LongPath.dll
Namespace
Pri.LongPath
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Directory"] class Type type-node

Syntax

public static class Directory

Methods

Name Value Summary
CreateDirectory(string, DirectorySecurity) DirectoryInfo
static
CreateDirectory(string) DirectoryInfo
static
Delete(string, bool) void
static
Delete(string) void
static
EnumerateDirectories(string, string, SearchOption) IEnumerable<string>
static
EnumerateDirectories(string, string) IEnumerable<string>
static
EnumerateDirectories(string) IEnumerable<string>
static
EnumerateFiles(string, string, SearchOption) IEnumerable<string>
static
EnumerateFiles(string, string) IEnumerable<string>
static
EnumerateFiles(string) IEnumerable<string>
static
EnumerateFileSystemEntries(string, string, SearchOption) IEnumerable<string>
static
EnumerateFileSystemEntries(string, string) IEnumerable<string>
static
EnumerateFileSystemEntries(string) IEnumerable<string>
static
Exists(string) bool
static
GetAccessControl(string, AccessControlSections) DirectorySecurity
static
GetAccessControl(string) DirectorySecurity
static
GetCreationTime(string) DateTime
static
GetCreationTimeUtc(string) DateTime
static
GetCurrentDirectory() string
static
GetDirectories(string, string, SearchOption) string[]
static
GetDirectories(string, string) string[]
static
GetDirectories(string) string[]
static
GetDirectoryRoot(string) string
static
GetFiles(string, string, SearchOption) string[]
static
GetFiles(string, string) string[]
static
GetFiles(string) string[]
static
GetFileSystemEntries(string, string, SearchOption) string[]
static
GetFileSystemEntries(string, string) string[]
static
GetFileSystemEntries(string) string[]
static
GetLastAccessTime(string) DateTime
static
GetLastAccessTimeUtc(string) DateTime
static
GetLastWriteTime(string) DateTime
static
GetLastWriteTimeUtc(string) DateTime
static
GetLogicalDrives() string[]
static
GetParent(string) DirectoryInfo
static
Move(string, string) void
static
SetAccessControl(string, DirectorySecurity) void
static
SetCreationTime(string, DateTime) void
static
SetCreationTimeUtc(string, DateTime) void
static
SetCurrentDirectory(string) void
static
SetLastAccessTime(string, DateTime) void
static
SetLastAccessTimeUtc(string, DateTime) void
static
SetLastWriteTime(string, DateTime) void
static
SetLastWriteTimeUtc(string, DateTime) void
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin