W3cubDocs

/Haxe C#

Directory

package cs.system.io

Available on cs

Static methods

static CreateDirectory (path:String):DirectoryInfo

static CreateDirectory (path:String, directorySecurity:DirectorySecurity):DirectoryInfo

static Delete (path:String):Void

static Delete (path:String, recursive:Bool):Void

static Exists (path:String):Bool

static GetAccessControl (path:String, includeSections:AccessControlSections):DirectorySecurity

static GetAccessControl (path:String):DirectorySecurity

static GetCreationTime (path:String):DateTime

static GetCreationTimeUtc (path:String):DateTime

static GetCurrentDirectory ():String

static GetDirectories (path:String):NativeArray<String>

static GetDirectories (path:String, searchPattern:String, searchOption:SearchOption):NativeArray<String>

static GetDirectories (path:String, searchPattern:String):NativeArray<String>

static GetDirectoryRoot (path:String):String

static GetFileSystemEntries (path:String):NativeArray<String>

static GetFileSystemEntries (path:String, searchPattern:String):NativeArray<String>

static GetFiles (path:String):NativeArray<String>

static GetFiles (path:String, searchPattern:String, searchOption:SearchOption):NativeArray<String>

static GetFiles (path:String, searchPattern:String):NativeArray<String>

static GetLastAccessTime (path:String):DateTime

static GetLastAccessTimeUtc (path:String):DateTime

static GetLastWriteTime (path:String):DateTime

static GetLastWriteTimeUtc (path:String):DateTime

static GetLogicalDrives ():NativeArray<String>

static GetParent (path:String):DirectoryInfo

static Move (sourceDirName:String, destDirName:String):Void

static SetAccessControl (path:String, directorySecurity:DirectorySecurity):Void

static SetCreationTime (path:String, creationTime:DateTime):Void

static SetCreationTimeUtc (path:String, creationTimeUtc:DateTime):Void

static SetCurrentDirectory (path:String):Void

static SetLastAccessTime (path:String, lastAccessTime:DateTime):Void

static SetLastAccessTimeUtc (path:String, lastAccessTimeUtc:DateTime):Void

static SetLastWriteTime (path:String, lastWriteTime:DateTime):Void

static SetLastWriteTimeUtc (path:String, lastWriteTimeUtc:DateTime):Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cs/system/io/Directory.html