Directory

cs.system.io.Directory (extern final class)

Static Members

CreateDirectory(path: String): DirectoryInfo
Name Type
path String
Returns
DirectoryInfo

Delete(path: String): Void
Name Type
path String

Exists(path: String): Bool
Name Type
path String
Returns
Bool

GetLastAccessTime(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastAccessTimeUtc(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastWriteTime(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastWriteTimeUtc(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetCreationTime(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetCreationTimeUtc(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetCurrentDirectory(): String
Returns
String

GetDirectories(path: String): cs.NativeArray<String>
Name Type
path String
Returns
cs.NativeArray<String>

GetDirectoryRoot(path: String): String
Name Type
path String
Returns
String

GetFiles(path: String): cs.NativeArray<String>
Name Type
path String
Returns
cs.NativeArray<String>

GetFileSystemEntries(path: String): cs.NativeArray<String>
Name Type
path String
Returns
cs.NativeArray<String>

GetLogicalDrives(): cs.NativeArray<String>
Returns
cs.NativeArray<String>

GetParent(path: String): DirectoryInfo
Name Type
path String
Returns
DirectoryInfo

Move(sourceDirName: String, destDirName: String): Void
Name Type
sourceDirName String
destDirName String

SetAccessControl(path: String, directorySecurity: cs.system.security.accesscontrol.DirectorySecurity): Void
Name Type
path String
directorySecurity cs.system.security.accesscontrol.DirectorySecurity

SetCreationTime(path: String, creationTime: cs.system.DateTime): Void
Name Type
path String
creationTime cs.system.DateTime

SetCreationTimeUtc(path: String, creationTimeUtc: cs.system.DateTime): Void
Name Type
path String
creationTimeUtc cs.system.DateTime

SetCurrentDirectory(path: String): Void
Name Type
path String

SetLastAccessTime(path: String, lastAccessTime: cs.system.DateTime): Void
Name Type
path String
lastAccessTime cs.system.DateTime

SetLastAccessTimeUtc(path: String, lastAccessTimeUtc: cs.system.DateTime): Void
Name Type
path String
lastAccessTimeUtc cs.system.DateTime

SetLastWriteTime(path: String, lastWriteTime: cs.system.DateTime): Void
Name Type
path String
lastWriteTime cs.system.DateTime

SetLastWriteTimeUtc(path: String, lastWriteTimeUtc: cs.system.DateTime): Void
Name Type
path String
lastWriteTimeUtc cs.system.DateTime

GetAccessControl(path: String, includeSections: Anonymous): cs.system.security.accesscontrol.DirectorySecurity
Name Type
path String
includeSections Anonymous
Returns
cs.system.security.accesscontrol.DirectorySecurity

Metadata

Name Parameters
:nativeGen -
:abstract -
:libType -
:csNative -