W3cubDocs

/Haxe C#

FileInfo

package cs.system.io

extends FileSystemInfoMarshalByRefObject

Available on cs

Constructor

finalnew(fileName:String)

Variables

read onlyDirectory:DirectoryInfo

read onlyDirectoryName:String

IsReadOnly:Bool

read onlyLength:Int64

Methods

finalAppendText():StreamWriter

finalCopyTo(destFileName:String):FileInfo

finalCopyTo(destFileName:String, overwrite:Bool):FileInfo

finalCreate():FileStream

finalCreateText():StreamWriter

finalDecrypt():Void

finalEncrypt():Void

finalGetAccessControl():FileSecurity

finalGetAccessControl(includeSections:AccessControlSections):FileSecurity

finalMoveTo(destFileName:String):Void

finalOpen(mode:FileMode):FileStream

finalOpen(mode:FileMode, access:FileAccess, share:FileShare):FileStream

finalOpen(mode:FileMode, access:FileAccess):FileStream

finalOpenRead():FileStream

finalOpenText():StreamReader

finalOpenWrite():FileStream

finalReplace(destinationFileName:String, destinationBackupFileName:String):FileInfo

finalReplace(destinationFileName:String, destinationBackupFileName:String, ignoreMetadataErrors:Bool):FileInfo

finalSetAccessControl(fileSecurity:FileSecurity):Void

ToString():String

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