W3cubDocs

/Haxe C#

FileInfo

package cs.system.io

extends FileSystemInfoMarshalByRefObject

Available on cs

Constructor

new (fileName:String)

Variables

read only Directory:DirectoryInfo

read only DirectoryName:String

IsReadOnly:Bool

read only Length:Int64

Methods

AppendText ():StreamWriter

CopyTo (destFileName:String):FileInfo

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

Create ():FileStream

CreateText ():StreamWriter

Decrypt ():Void

Encrypt ():Void

GetAccessControl ():FileSecurity

GetAccessControl (includeSections:AccessControlSections):FileSecurity

MoveTo (destFileName:String):Void

Open (mode:FileMode):FileStream

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

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

OpenRead ():FileStream

OpenText ():StreamReader

OpenWrite ():FileStream

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

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

SetAccessControl (fileSecurity:FileSecurity):Void

ToString ():String

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