W3cubDocs

/Haxe C#

DirectoryInfo

package cs.system.io

extends FileSystemInfoMarshalByRefObject

@:final@:libType@:csNative@:native("System.IO.DirectoryInfo") Available on cs

Constructor

@:final @:overload new (path:String)

Variables

read only Parent:DirectoryInfo

read only Root:DirectoryInfo

Methods

@:final @:overload Create ():Void

@:final @:overload Create (directorySecurity:DirectorySecurity):Void

@:final @:overload CreateSubdirectory (path:String):DirectoryInfo

@:final @:overload CreateSubdirectory (path:String, directorySecurity:DirectorySecurity):DirectoryInfo

@:final @:overload GetAccessControl ():DirectorySecurity

@:final @:overload GetAccessControl (includeSections:AccessControlSections):DirectorySecurity

@:final @:overload GetDirectories ():NativeArray<DirectoryInfo>

@:final @:overload GetDirectories (searchPattern:String, searchOption:SearchOption):NativeArray<DirectoryInfo>

@:final @:overload GetDirectories (searchPattern:String):NativeArray<DirectoryInfo>

@:final @:overload GetFileSystemInfos ():NativeArray<FileSystemInfo>

@:final @:overload GetFileSystemInfos (searchPattern:String):NativeArray<FileSystemInfo>

@:final @:overload GetFiles ():NativeArray<FileInfo>

@:final @:overload GetFiles (searchPattern:String, searchOption:SearchOption):NativeArray<FileInfo>

@:final @:overload GetFiles (searchPattern:String):NativeArray<FileInfo>

@:final @:overload MoveTo (destDirName:String):Void

@:final @:overload SetAccessControl (directorySecurity:DirectorySecurity):Void

@:overload ToString ():String

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/io/DirectoryInfo.html