File

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Iodine
    • Elements.fx  Island
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Mapped to:
    • System.String  .NET, .NET Standard
    • java.lang.String  Iodine
    • RemObjects.Elements.System.String  Island
    • Foundation.NSString  Toffee

 

constructor

 

constructor(aPath: not nullable String)

 

File(String! aPath)

 

init(_ aPath: String)

 

File(String! aPath)

Parameters:

  • aPath:

AppendBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method AppendBinary(aFileName: String; Content: ImmutableBinary)

 

static void AppendBinary(String aFileName, ImmutableBinary Content)

 

static func AppendBinary(_ aFileName: String, _ Content: ImmutableBinary)

 

static void AppendBinary(String aFileName, ImmutableBinary Content)

Parameters:

  • aFileName:
  • Content:

AppendBytes  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method AppendBytes(aFileName: String; Content: array of Byte)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method AppendBytes(aFileName: String; Content: array of Byte)

 

// .NET, .NET Standard
static void AppendBytes(String aFileName, Byte[] Content)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static void AppendBytes(String aFileName, Byte[] Content)

 

static func AppendBytes(_ aFileName: String, _ Content: Byte...)

 

static void AppendBytes(String aFileName, Byte[] Content)

Parameters:

  • aFileName:
  • Content:

AppendText  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method AppendText(aFileName: String; Content: String)

 

static void AppendText(String aFileName, String Content)

 

static func AppendText(_ aFileName: String, _ Content: String)

 

static void AppendText(String aFileName, String Content)

Parameters:

  • aFileName:
  • Content:

CopyTo (not nullable File, Boolean): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method CopyTo(NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method CopyTo(NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File

 

// .NET, .NET Standard
File! CopyTo(File! NewPathAndName, Boolean aCloneIfPossible)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
File! CopyTo(File! NewPathAndName, Boolean aCloneIfPossible)

 

func CopyTo(_ NewPathAndName: File, _ aCloneIfPossible: Boolean) -> File

 

File! CopyTo(File! NewPathAndName, Boolean aCloneIfPossible)

Parameters:

  • NewPathAndName:
  • aCloneIfPossible:

CopyTo (not nullable Folder, not nullable String, Boolean): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method CopyTo(Destination: not nullable Folder; NewName: not nullable String; aCloneIfPossible: Boolean): not nullable File
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method CopyTo(Destination: not nullable Folder; NewName: not nullable String; aCloneIfPossible: Boolean): not nullable File

 

// .NET, .NET Standard
File! CopyTo(Folder! Destination, String! NewName, Boolean aCloneIfPossible)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
File! CopyTo(Folder! Destination, String! NewName, Boolean aCloneIfPossible)

 

func CopyTo(_ Destination: Folder, _ NewName: String, _ aCloneIfPossible: Boolean) -> File

 

File! CopyTo(Folder! Destination, String! NewName, Boolean aCloneIfPossible)

Parameters:

  • Destination:
  • NewName:
  • aCloneIfPossible:

CopyTo (not nullable File, not nullable File, Boolean): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method CopyTo(aFileName: not nullable File; NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method CopyTo(aFileName: not nullable File; NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File

 

// .NET, .NET Standard
static File! CopyTo(File! aFileName, File! NewPathAndName, Boolean aCloneIfPossible)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static File! CopyTo(File! aFileName, File! NewPathAndName, Boolean aCloneIfPossible)

 

static func CopyTo(_ aFileName: File, _ NewPathAndName: File, _ aCloneIfPossible: Boolean) -> File

 

static File! CopyTo(File! aFileName, File! NewPathAndName, Boolean aCloneIfPossible)

Parameters:

  • aFileName:
  • NewPathAndName:
  • aCloneIfPossible:

DateCreated  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

property DateCreated: DateTime read

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

DateTime DateCreated { __get; }

DateModified  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

property DateModified: DateTime read write

 

DateTime DateModified { get; set; }

 

var DateModified: DateTime { get{} set{} }

 

DateTime DateModified { __get; __set; }

Delete  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Delete()

 

void Delete()

 

func Delete()

 

void Delete()

Delete (not nullable File)  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method Delete(aFileName: not nullable File)

 

static void Delete(File! aFileName)

 

static func Delete(_ aFileName: File)

 

static void Delete(File! aFileName)

Parameters:

  • aFileName:

Exists  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method Exists(): Boolean
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method Exists(): Boolean

 

// .NET, .NET Standard
Boolean Exists()
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Boolean Exists()

 

func Exists() -> Boolean

 

Boolean Exists()

Exists (File): Boolean  virtual Iodine, Toffee

 

static func Exists(_ aFileName: File) -> Boolean

 

static Boolean Exists(File aFileName)

Parameters:

  • aFileName:

Exists (nullable File): Boolean .NET, .NET Standard, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows

 

// .NET, .NET Standard
class method Exists(aFileName: nullable File): Boolean
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method Exists(aFileName: nullable File): Boolean

 

// .NET, .NET Standard
static Boolean Exists(File? aFileName)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static Boolean Exists(File? aFileName)

 

// .NET, .NET Standard
static func Exists(_ aFileName: File?) -> Boolean
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static func Exists(_ aFileName: File?) -> Boolean

Parameters:

  • aFileName:

Extension  virtual

 

property Extension: not nullable String read

 

String! Extension { get; }

 

var Extension: String { get{} }

 

String! Extension { __get; }

FullPath  virtual

 

property FullPath: not nullable String read

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

String! FullPath { __get; }

Move (not nullable File): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Move(NewPathAndName: not nullable File): not nullable File

 

File! Move(File! NewPathAndName)

 

func Move(_ NewPathAndName: File) -> File

 

File! Move(File! NewPathAndName)

Parameters:

  • NewPathAndName:

Move (not nullable Folder, not nullable String): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Move(DestinationFolder: not nullable Folder; NewName: not nullable String): not nullable File

 

File! Move(Folder! DestinationFolder, String! NewName)

 

func Move(_ DestinationFolder: Folder, _ NewName: String) -> File

 

File! Move(Folder! DestinationFolder, String! NewName)

Parameters:

  • DestinationFolder:
  • NewName:

Move (not nullable File, not nullable File): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method Move(aFileName: not nullable File; NewPathAndName: not nullable File): not nullable File

 

static File! Move(File! aFileName, File! NewPathAndName)

 

static func Move(_ aFileName: File, _ NewPathAndName: File) -> File

 

static File! Move(File! aFileName, File! NewPathAndName)

Parameters:

  • aFileName:
  • NewPathAndName:

Name  virtual

 

property Name: not nullable String read

 

String! Name { get; }

 

var Name: String { get{} }

 

String! Name { __get; }

Open  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Open(Mode: FileOpenMode): not nullable FileHandle

 

FileHandle! Open(FileOpenMode Mode)

 

func Open(_ Mode: FileOpenMode) -> FileHandle

 

FileHandle! Open(FileOpenMode Mode)

Parameters:

  • Mode:

ReadBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method ReadBinary(): ImmutableBinary

 

ImmutableBinary ReadBinary()

 

func ReadBinary() -> ImmutableBinary

 

ImmutableBinary ReadBinary()

ReadBinary (String): ImmutableBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method ReadBinary(aFileName: String): ImmutableBinary

 

static ImmutableBinary ReadBinary(String aFileName)

 

static func ReadBinary(_ aFileName: String) -> ImmutableBinary

 

static ImmutableBinary ReadBinary(String aFileName)

Parameters:

  • aFileName:

ReadBytes  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method ReadBytes(): array of Byte
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method ReadBytes(): array of Byte

 

// .NET, .NET Standard
Byte[] ReadBytes()
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Byte[] ReadBytes()

 

func ReadBytes() -> Byte...

 

Byte[] ReadBytes()

ReadBytes (String): array of Byte  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method ReadBytes(aFileName: String): array of Byte
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method ReadBytes(aFileName: String): array of Byte

 

// .NET, .NET Standard
static Byte[] ReadBytes(String aFileName)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static Byte[] ReadBytes(String aFileName)

 

static func ReadBytes(_ aFileName: String) -> Byte...

 

static Byte[] ReadBytes(String aFileName)

Parameters:

  • aFileName:

ReadLines  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method ReadLines(aFileName: String; Encoding: Encoding): ImmutableList<String>

 

static ImmutableList<String> ReadLines(String aFileName, Encoding Encoding)

 

static func ReadLines(_ aFileName: String, _ Encoding: Encoding) -> ImmutableList<String>

 

static ImmutableList<String> ReadLines(String aFileName, Encoding Encoding)

Parameters:

  • aFileName:
  • Encoding:

ReadText (Encoding): String  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method ReadText(Encoding: Encoding): String

 

String ReadText(Encoding Encoding)

 

func ReadText(_ Encoding: Encoding) -> String

 

String ReadText(Encoding Encoding)

Parameters:

  • Encoding:

ReadText (String, Encoding): String  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method ReadText(aFileName: String; Encoding: Encoding): String

 

static String ReadText(String aFileName, Encoding Encoding)

 

static func ReadText(_ aFileName: String, _ Encoding: Encoding) -> String

 

static String ReadText(String aFileName, Encoding Encoding)

Parameters:

  • aFileName:
  • Encoding:

Rename (not nullable String): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Rename(NewName: not nullable String): not nullable File

 

File! Rename(String! NewName)

 

func Rename(_ NewName: String) -> File

 

File! Rename(String! NewName)

Parameters:

  • NewName:

Rename (not nullable File, not nullable String): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method Rename(aFileName: not nullable File; NewName: not nullable String): not nullable File

 

static File! Rename(File! aFileName, String! NewName)

 

static func Rename(_ aFileName: File, _ NewName: String) -> File

 

static File! Rename(File! aFileName, String! NewName)

Parameters:

  • aFileName:
  • NewName:

Size  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
property Size: Int64 read
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
property Size: Int64 read

 

// .NET, .NET Standard
Int64 Size { get; }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Int64 Size { get; }

 

// .NET, .NET Standard, Toffee
var Size: Int64 { get{} }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
var Size: Int64 { get{} }

 

Int64 Size { __get; }

WriteBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method WriteBinary(aFileName: String; Content: ImmutableBinary)

 

static void WriteBinary(String aFileName, ImmutableBinary Content)

 

static func WriteBinary(_ aFileName: String, _ Content: ImmutableBinary)

 

static void WriteBinary(String aFileName, ImmutableBinary Content)

Parameters:

  • aFileName:
  • Content:

WriteBytes  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method WriteBytes(aFileName: String; Content: array of Byte)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method WriteBytes(aFileName: String; Content: array of Byte)

 

// .NET, .NET Standard
static void WriteBytes(String aFileName, Byte[] Content)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static void WriteBytes(String aFileName, Byte[] Content)

 

static func WriteBytes(_ aFileName: String, _ Content: Byte...)

 

static void WriteBytes(String aFileName, Byte[] Content)

Parameters:

  • aFileName:
  • Content:

WriteLines  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method WriteLines(aFileName: String; Content: ImmutableList<String>; aEncoding: Encoding)

 

static void WriteLines(String aFileName, ImmutableList<String> Content, Encoding aEncoding)

 

static func WriteLines(_ aFileName: String, _ Content: ImmutableList<String>, _ aEncoding: Encoding)

 

static void WriteLines(String aFileName, ImmutableList<String> Content, Encoding aEncoding)

Parameters:

  • aFileName:
  • Content:
  • aEncoding:

WriteText  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method WriteText(aFileName: String; Content: String; aEncoding: Encoding)

 

static void WriteText(String aFileName, String Content, Encoding aEncoding)

 

static func WriteText(_ aFileName: String, _ Content: String, _ aEncoding: Encoding)

 

static void WriteText(String aFileName, String Content, Encoding aEncoding)

Parameters:

  • aFileName:
  • Content:
  • aEncoding:

 

DateCreated  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

property DateCreated: DateTime read

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

DateTime DateCreated { __get; }

DateModified  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

property DateModified: DateTime read write

 

DateTime DateModified { get; set; }

 

var DateModified: DateTime { get{} set{} }

 

DateTime DateModified { __get; __set; }

Extension  virtual

 

property Extension: not nullable String read

 

String! Extension { get; }

 

var Extension: String { get{} }

 

String! Extension { __get; }

FullPath  virtual

 

property FullPath: not nullable String read

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

String! FullPath { __get; }

Name  virtual

 

property Name: not nullable String read

 

String! Name { get; }

 

var Name: String { get{} }

 

String! Name { __get; }

Size  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
property Size: Int64 read
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
property Size: Int64 read

 

// .NET, .NET Standard
Int64 Size { get; }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Int64 Size { get; }

 

// .NET, .NET Standard, Toffee
var Size: Int64 { get{} }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
var Size: Int64 { get{} }

 

Int64 Size { __get; }

 

AppendBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method AppendBinary(aFileName: String; Content: ImmutableBinary)

 

static void AppendBinary(String aFileName, ImmutableBinary Content)

 

static func AppendBinary(_ aFileName: String, _ Content: ImmutableBinary)

 

static void AppendBinary(String aFileName, ImmutableBinary Content)

Parameters:

  • aFileName:
  • Content:

AppendBytes  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method AppendBytes(aFileName: String; Content: array of Byte)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method AppendBytes(aFileName: String; Content: array of Byte)

 

// .NET, .NET Standard
static void AppendBytes(String aFileName, Byte[] Content)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static void AppendBytes(String aFileName, Byte[] Content)

 

static func AppendBytes(_ aFileName: String, _ Content: Byte...)

 

static void AppendBytes(String aFileName, Byte[] Content)

Parameters:

  • aFileName:
  • Content:

AppendText  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method AppendText(aFileName: String; Content: String)

 

static void AppendText(String aFileName, String Content)

 

static func AppendText(_ aFileName: String, _ Content: String)

 

static void AppendText(String aFileName, String Content)

Parameters:

  • aFileName:
  • Content:

CopyTo (not nullable File, not nullable File, Boolean): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method CopyTo(aFileName: not nullable File; NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method CopyTo(aFileName: not nullable File; NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File

 

// .NET, .NET Standard
static File! CopyTo(File! aFileName, File! NewPathAndName, Boolean aCloneIfPossible)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static File! CopyTo(File! aFileName, File! NewPathAndName, Boolean aCloneIfPossible)

 

static func CopyTo(_ aFileName: File, _ NewPathAndName: File, _ aCloneIfPossible: Boolean) -> File

 

static File! CopyTo(File! aFileName, File! NewPathAndName, Boolean aCloneIfPossible)

Parameters:

  • aFileName:
  • NewPathAndName:
  • aCloneIfPossible:

Delete (not nullable File)  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method Delete(aFileName: not nullable File)

 

static void Delete(File! aFileName)

 

static func Delete(_ aFileName: File)

 

static void Delete(File! aFileName)

Parameters:

  • aFileName:

Exists (File): Boolean  virtual Iodine, Toffee

 

static func Exists(_ aFileName: File) -> Boolean

 

static Boolean Exists(File aFileName)

Parameters:

  • aFileName:

Exists (nullable File): Boolean .NET, .NET Standard, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows

 

// .NET, .NET Standard
class method Exists(aFileName: nullable File): Boolean
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method Exists(aFileName: nullable File): Boolean

 

// .NET, .NET Standard
static Boolean Exists(File? aFileName)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static Boolean Exists(File? aFileName)

 

// .NET, .NET Standard
static func Exists(_ aFileName: File?) -> Boolean
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static func Exists(_ aFileName: File?) -> Boolean

Parameters:

  • aFileName:

Move (not nullable File, not nullable File): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method Move(aFileName: not nullable File; NewPathAndName: not nullable File): not nullable File

 

static File! Move(File! aFileName, File! NewPathAndName)

 

static func Move(_ aFileName: File, _ NewPathAndName: File) -> File

 

static File! Move(File! aFileName, File! NewPathAndName)

Parameters:

  • aFileName:
  • NewPathAndName:

ReadBinary (String): ImmutableBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method ReadBinary(aFileName: String): ImmutableBinary

 

static ImmutableBinary ReadBinary(String aFileName)

 

static func ReadBinary(_ aFileName: String) -> ImmutableBinary

 

static ImmutableBinary ReadBinary(String aFileName)

Parameters:

  • aFileName:

ReadBytes (String): array of Byte  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method ReadBytes(aFileName: String): array of Byte
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method ReadBytes(aFileName: String): array of Byte

 

// .NET, .NET Standard
static Byte[] ReadBytes(String aFileName)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static Byte[] ReadBytes(String aFileName)

 

static func ReadBytes(_ aFileName: String) -> Byte...

 

static Byte[] ReadBytes(String aFileName)

Parameters:

  • aFileName:

ReadLines  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method ReadLines(aFileName: String; Encoding: Encoding): ImmutableList<String>

 

static ImmutableList<String> ReadLines(String aFileName, Encoding Encoding)

 

static func ReadLines(_ aFileName: String, _ Encoding: Encoding) -> ImmutableList<String>

 

static ImmutableList<String> ReadLines(String aFileName, Encoding Encoding)

Parameters:

  • aFileName:
  • Encoding:

ReadText (String, Encoding): String  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method ReadText(aFileName: String; Encoding: Encoding): String

 

static String ReadText(String aFileName, Encoding Encoding)

 

static func ReadText(_ aFileName: String, _ Encoding: Encoding) -> String

 

static String ReadText(String aFileName, Encoding Encoding)

Parameters:

  • aFileName:
  • Encoding:

Rename (not nullable File, not nullable String): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method Rename(aFileName: not nullable File; NewName: not nullable String): not nullable File

 

static File! Rename(File! aFileName, String! NewName)

 

static func Rename(_ aFileName: File, _ NewName: String) -> File

 

static File! Rename(File! aFileName, String! NewName)

Parameters:

  • aFileName:
  • NewName:

WriteBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method WriteBinary(aFileName: String; Content: ImmutableBinary)

 

static void WriteBinary(String aFileName, ImmutableBinary Content)

 

static func WriteBinary(_ aFileName: String, _ Content: ImmutableBinary)

 

static void WriteBinary(String aFileName, ImmutableBinary Content)

Parameters:

  • aFileName:
  • Content:

WriteBytes  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
class method WriteBytes(aFileName: String; Content: array of Byte)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
class method WriteBytes(aFileName: String; Content: array of Byte)

 

// .NET, .NET Standard
static void WriteBytes(String aFileName, Byte[] Content)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
static void WriteBytes(String aFileName, Byte[] Content)

 

static func WriteBytes(_ aFileName: String, _ Content: Byte...)

 

static void WriteBytes(String aFileName, Byte[] Content)

Parameters:

  • aFileName:
  • Content:

WriteLines  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method WriteLines(aFileName: String; Content: ImmutableList<String>; aEncoding: Encoding)

 

static void WriteLines(String aFileName, ImmutableList<String> Content, Encoding aEncoding)

 

static func WriteLines(_ aFileName: String, _ Content: ImmutableList<String>, _ aEncoding: Encoding)

 

static void WriteLines(String aFileName, ImmutableList<String> Content, Encoding aEncoding)

Parameters:

  • aFileName:
  • Content:
  • aEncoding:

WriteText  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

class method WriteText(aFileName: String; Content: String; aEncoding: Encoding)

 

static void WriteText(String aFileName, String Content, Encoding aEncoding)

 

static func WriteText(_ aFileName: String, _ Content: String, _ aEncoding: Encoding)

 

static void WriteText(String aFileName, String Content, Encoding aEncoding)

Parameters:

  • aFileName:
  • Content:
  • aEncoding:

 

constructor

 

constructor(aPath: not nullable String)

 

File(String! aPath)

 

init(_ aPath: String)

 

File(String! aPath)

Parameters:

  • aPath:

CopyTo (not nullable File, Boolean): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method CopyTo(NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method CopyTo(NewPathAndName: not nullable File; aCloneIfPossible: Boolean): not nullable File

 

// .NET, .NET Standard
File! CopyTo(File! NewPathAndName, Boolean aCloneIfPossible)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
File! CopyTo(File! NewPathAndName, Boolean aCloneIfPossible)

 

func CopyTo(_ NewPathAndName: File, _ aCloneIfPossible: Boolean) -> File

 

File! CopyTo(File! NewPathAndName, Boolean aCloneIfPossible)

Parameters:

  • NewPathAndName:
  • aCloneIfPossible:

CopyTo (not nullable Folder, not nullable String, Boolean): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method CopyTo(Destination: not nullable Folder; NewName: not nullable String; aCloneIfPossible: Boolean): not nullable File
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method CopyTo(Destination: not nullable Folder; NewName: not nullable String; aCloneIfPossible: Boolean): not nullable File

 

// .NET, .NET Standard
File! CopyTo(Folder! Destination, String! NewName, Boolean aCloneIfPossible)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
File! CopyTo(Folder! Destination, String! NewName, Boolean aCloneIfPossible)

 

func CopyTo(_ Destination: Folder, _ NewName: String, _ aCloneIfPossible: Boolean) -> File

 

File! CopyTo(Folder! Destination, String! NewName, Boolean aCloneIfPossible)

Parameters:

  • Destination:
  • NewName:
  • aCloneIfPossible:

Delete  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Delete()

 

void Delete()

 

func Delete()

 

void Delete()

Exists  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method Exists(): Boolean
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method Exists(): Boolean

 

// .NET, .NET Standard
Boolean Exists()
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Boolean Exists()

 

func Exists() -> Boolean

 

Boolean Exists()

Move (not nullable File): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Move(NewPathAndName: not nullable File): not nullable File

 

File! Move(File! NewPathAndName)

 

func Move(_ NewPathAndName: File) -> File

 

File! Move(File! NewPathAndName)

Parameters:

  • NewPathAndName:

Move (not nullable Folder, not nullable String): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Move(DestinationFolder: not nullable Folder; NewName: not nullable String): not nullable File

 

File! Move(Folder! DestinationFolder, String! NewName)

 

func Move(_ DestinationFolder: Folder, _ NewName: String) -> File

 

File! Move(Folder! DestinationFolder, String! NewName)

Parameters:

  • DestinationFolder:
  • NewName:

Open  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Open(Mode: FileOpenMode): not nullable FileHandle

 

FileHandle! Open(FileOpenMode Mode)

 

func Open(_ Mode: FileOpenMode) -> FileHandle

 

FileHandle! Open(FileOpenMode Mode)

Parameters:

  • Mode:

ReadBinary  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method ReadBinary(): ImmutableBinary

 

ImmutableBinary ReadBinary()

 

func ReadBinary() -> ImmutableBinary

 

ImmutableBinary ReadBinary()

ReadBytes  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

// .NET, .NET Standard
method ReadBytes(): array of Byte
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method ReadBytes(): array of Byte

 

// .NET, .NET Standard
Byte[] ReadBytes()
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Byte[] ReadBytes()

 

func ReadBytes() -> Byte...

 

Byte[] ReadBytes()

ReadText (Encoding): String  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method ReadText(Encoding: Encoding): String

 

String ReadText(Encoding Encoding)

 

func ReadText(_ Encoding: Encoding) -> String

 

String ReadText(Encoding Encoding)

Parameters:

  • Encoding:

Rename (not nullable String): not nullable File  virtual .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

method Rename(NewName: not nullable String): not nullable File

 

File! Rename(String! NewName)

 

func Rename(_ NewName: String) -> File

 

File! Rename(String! NewName)

Parameters:

  • NewName: