Folder

Overview

Folder related utilities.

Location

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

 

constructor

Creates a new instance for a given folder path.

 

constructor(aPath: not nullable String)

 

Folder(String! aPath)

 

init(_ aPath: String)

 

Folder(String aPath)

 

Sub New(aPath As String)

Parameters:

  • aPath:

CopyContentsTo .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Copy the content of this folder, optionally recursively.

 

method CopyContentsTo(aNewFolder: Folder; aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

func CopyContentsTo(_ aNewFolder: Folder, _ aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

Sub CopyContentsTo(aNewFolder As Folder, aRecursive As Boolean)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Creates a new folder.

 

method Create(FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

func Create(_ FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

Sub Create(FailIfExists As Boolean)

Parameters:

  • FailIfExists:

Create (Folder, Boolean): Folder .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Creates a new folder.

 

class method Create(aFolderName: Folder; FailIfExists: Boolean): Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

 

static func Create(_ aFolderName: Folder, _ FailIfExists: Boolean) -> Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

 

Shared Function Create(aFolderName As Folder, FailIfExists As Boolean) As Folder

Parameters:

  • aFolderName:
  • FailIfExists:

CreateFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Create a file in thsi folder.

 

method CreateFile(FileName: String; FailIfExists: Boolean): File

 

File CreateFile(String FileName, Boolean FailIfExists)

 

func CreateFile(_ FileName: String, _ FailIfExists: Boolean) -> File

 

File CreateFile(String FileName, Boolean FailIfExists)

 

Function CreateFile(FileName As String, FailIfExists As Boolean) As File

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Create a subdirectory in this folder.

 

method CreateSubfolder(SubfolderName: String; FailIfExists: Boolean): Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

func CreateSubfolder(_ SubfolderName: String, _ FailIfExists: Boolean) -> Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

Function CreateSubfolder(SubfolderName As String, FailIfExists As Boolean) As Folder

Parameters:

  • SubfolderName:
  • FailIfExists:

DateCreated .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returns the creation date.

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

DateTime DateCreated { __get; }

 

ReadOnly Property DateCreated() As DateTime

DateModified .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returns the last modification date.

 

property DateModified: DateTime read write;

 

DateTime DateModified { get; set; }

 

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

 

DateTime DateModified { __get; __set; }

 

Property DateModified() As DateTime

Delete .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Delete a folder.

 

method Delete

 

void Delete()

 

func Delete()

 

void Delete()

 

Sub Delete()

Delete (Folder) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Delete a folder.

 

class method Delete(aFolderName: Folder)

 

static void Delete(Folder aFolderName)

 

static func Delete(_ aFolderName: Folder)

 

static void Delete(Folder aFolderName)

 

Shared Sub Delete(aFolderName As Folder)

Parameters:

  • aFolderName:

Exists .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Check if the folder exists.

 

method Exists: Boolean

 

Boolean Exists()

 

func Exists() -> Boolean

 

Boolean Exists()

 

Function Exists() As Boolean

Exists (Folder): Boolean  virtual Cooper, Toffee

Check if the folder exists.

 

static func Exists(_ aFolderName: Folder) -> Boolean

 

static Boolean Exists(Folder aFolderName)

Parameters:

  • aFolderName:

Exists (nullable Folder): Boolean .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2

Check if the folder exists.

 

class method Exists(aFolderName: nullable Folder): Boolean

 

static Boolean Exists(Folder? aFolderName)

 

static func Exists(_ aFolderName: Folder?) -> Boolean

 

Shared Function Exists(aFolderName As Folder?) As Boolean

Parameters:

  • aFolderName:

Extension

Returns the extension in the filename of this folder.

 

property Extension: not nullable String read;

 

String! Extension { get; }

 

var Extension: String { get{} }

 

String Extension { __get; }

 

ReadOnly Property Extension() As String

FullPath

Returns the full apth of this folder.

 

property FullPath: not nullable String read;

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

String FullPath { __get; }

 

ReadOnly Property FullPath() As String

GetFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Get a file inside this folder.

 

method GetFile(FileName: String): File

 

File GetFile(String FileName)

 

func GetFile(_ FileName: String) -> File

 

File GetFile(String FileName)

 

Function GetFile(FileName As String) As File

Parameters:

  • FileName:

GetFiles .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files in a given folder.

 

method GetFiles: not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles()

 

func GetFiles() -> ImmutableList<String>

 

ImmutableList<String> GetFiles()

 

Function GetFiles() As ImmutableList<String>

GetFiles (Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files in a given folder.

 

method GetFiles(aRecursive: Boolean): not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

 

func GetFiles(_ aRecursive: Boolean) -> ImmutableList<String>

 

ImmutableList<String> GetFiles(Boolean aRecursive)

 

Function GetFiles(aRecursive As Boolean) As ImmutableList<String>

Parameters:

  • aRecursive:

GetFiles (Folder, Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files in a given folder.

 

class method GetFiles(aFolderName: Folder; aRecursive: Boolean): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFiles(Folder aFolderName, Boolean aRecursive)

 

static func GetFiles(_ aFolderName: Folder, _ aRecursive: Boolean) -> ImmutableList<String>

 

static ImmutableList<String> GetFiles(Folder aFolderName, Boolean aRecursive)

 

Shared Function GetFiles(aFolderName As Folder, aRecursive As Boolean) As ImmutableList<String>

Parameters:

  • aFolderName:
  • aRecursive:

GetFilesAndFolders .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files and folders in a given folder.

 

class method GetFilesAndFolders(aFolderName: Folder): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFilesAndFolders(Folder aFolderName)

 

static func GetFilesAndFolders(_ aFolderName: Folder) -> ImmutableList<String>

 

static ImmutableList<String> GetFilesAndFolders(Folder aFolderName)

 

Shared Function GetFilesAndFolders(aFolderName As Folder) As ImmutableList<String>

Parameters:

  • aFolderName:

GetSubfolders .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of folders in a given folder.

 

method GetSubfolders: not nullable List<String>

 

List<String>! GetSubfolders()

 

func GetSubfolders() -> List<String>

 

List<String> GetSubfolders()

 

Function GetSubfolders() As List<String>

GetSubfolders (Folder): not nullable List<String> .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of folders in a given folder.

 

class method GetSubfolders(aFolderName: Folder): not nullable List<String>

 

static List<String>! GetSubfolders(Folder aFolderName)

 

static func GetSubfolders(_ aFolderName: Folder) -> List<String>

 

static List<String> GetSubfolders(Folder aFolderName)

 

Shared Function GetSubfolders(aFolderName As Folder) As List<String>

Parameters:

  • aFolderName:

Name

Returns the name of this folder without path.

 

property Name: not nullable String read;

 

String! Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

Rename .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Rename this folder.

 

method Rename(NewName: String): Folder

 

Folder Rename(String NewName)

 

func Rename(_ NewName: String) -> Folder

 

Folder Rename(String NewName)

 

Function Rename(NewName As String) As Folder

Parameters:

  • NewName:

Separator

Returns the separator for path elements in this folder.

 

class property Separator: Char read;

 

class Char Separator { get; }

 

static var Separator: Char { get{} }

 

class Char Separator { __get; }

 

Shared ReadOnly Property Separator() As Char

 

DateCreated .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returns the creation date.

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

DateTime DateCreated { __get; }

 

ReadOnly Property DateCreated() As DateTime

DateModified .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returns the last modification date.

 

property DateModified: DateTime read write;

 

DateTime DateModified { get; set; }

 

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

 

DateTime DateModified { __get; __set; }

 

Property DateModified() As DateTime

Extension

Returns the extension in the filename of this folder.

 

property Extension: not nullable String read;

 

String! Extension { get; }

 

var Extension: String { get{} }

 

String Extension { __get; }

 

ReadOnly Property Extension() As String

FullPath

Returns the full apth of this folder.

 

property FullPath: not nullable String read;

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

String FullPath { __get; }

 

ReadOnly Property FullPath() As String

Name

Returns the name of this folder without path.

 

property Name: not nullable String read;

 

String! Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

Separator

Returns the separator for path elements in this folder.

 

class property Separator: Char read;

 

class Char Separator { get; }

 

static var Separator: Char { get{} }

 

class Char Separator { __get; }

 

Shared ReadOnly Property Separator() As Char

 

Create (Folder, Boolean): Folder .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Creates a new folder.

 

class method Create(aFolderName: Folder; FailIfExists: Boolean): Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

 

static func Create(_ aFolderName: Folder, _ FailIfExists: Boolean) -> Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

 

Shared Function Create(aFolderName As Folder, FailIfExists As Boolean) As Folder

Parameters:

  • aFolderName:
  • FailIfExists:

Delete (Folder) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Delete a folder.

 

class method Delete(aFolderName: Folder)

 

static void Delete(Folder aFolderName)

 

static func Delete(_ aFolderName: Folder)

 

static void Delete(Folder aFolderName)

 

Shared Sub Delete(aFolderName As Folder)

Parameters:

  • aFolderName:

Exists (Folder): Boolean  virtual Cooper, Toffee

Check if the folder exists.

 

static func Exists(_ aFolderName: Folder) -> Boolean

 

static Boolean Exists(Folder aFolderName)

Parameters:

  • aFolderName:

Exists (nullable Folder): Boolean .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2

Check if the folder exists.

 

class method Exists(aFolderName: nullable Folder): Boolean

 

static Boolean Exists(Folder? aFolderName)

 

static func Exists(_ aFolderName: Folder?) -> Boolean

 

Shared Function Exists(aFolderName As Folder?) As Boolean

Parameters:

  • aFolderName:

GetFiles (Folder, Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files in a given folder.

 

class method GetFiles(aFolderName: Folder; aRecursive: Boolean): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFiles(Folder aFolderName, Boolean aRecursive)

 

static func GetFiles(_ aFolderName: Folder, _ aRecursive: Boolean) -> ImmutableList<String>

 

static ImmutableList<String> GetFiles(Folder aFolderName, Boolean aRecursive)

 

Shared Function GetFiles(aFolderName As Folder, aRecursive As Boolean) As ImmutableList<String>

Parameters:

  • aFolderName:
  • aRecursive:

GetFilesAndFolders .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files and folders in a given folder.

 

class method GetFilesAndFolders(aFolderName: Folder): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFilesAndFolders(Folder aFolderName)

 

static func GetFilesAndFolders(_ aFolderName: Folder) -> ImmutableList<String>

 

static ImmutableList<String> GetFilesAndFolders(Folder aFolderName)

 

Shared Function GetFilesAndFolders(aFolderName As Folder) As ImmutableList<String>

Parameters:

  • aFolderName:

GetSubfolders (Folder): not nullable List<String> .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of folders in a given folder.

 

class method GetSubfolders(aFolderName: Folder): not nullable List<String>

 

static List<String>! GetSubfolders(Folder aFolderName)

 

static func GetSubfolders(_ aFolderName: Folder) -> List<String>

 

static List<String> GetSubfolders(Folder aFolderName)

 

Shared Function GetSubfolders(aFolderName As Folder) As List<String>

Parameters:

  • aFolderName:

 

constructor

Creates a new instance for a given folder path.

 

constructor(aPath: not nullable String)

 

Folder(String! aPath)

 

init(_ aPath: String)

 

Folder(String aPath)

 

Sub New(aPath As String)

Parameters:

  • aPath:

CopyContentsTo .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Copy the content of this folder, optionally recursively.

 

method CopyContentsTo(aNewFolder: Folder; aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

func CopyContentsTo(_ aNewFolder: Folder, _ aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

Sub CopyContentsTo(aNewFolder As Folder, aRecursive As Boolean)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Creates a new folder.

 

method Create(FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

func Create(_ FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

Sub Create(FailIfExists As Boolean)

Parameters:

  • FailIfExists:

CreateFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Create a file in thsi folder.

 

method CreateFile(FileName: String; FailIfExists: Boolean): File

 

File CreateFile(String FileName, Boolean FailIfExists)

 

func CreateFile(_ FileName: String, _ FailIfExists: Boolean) -> File

 

File CreateFile(String FileName, Boolean FailIfExists)

 

Function CreateFile(FileName As String, FailIfExists As Boolean) As File

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Create a subdirectory in this folder.

 

method CreateSubfolder(SubfolderName: String; FailIfExists: Boolean): Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

func CreateSubfolder(_ SubfolderName: String, _ FailIfExists: Boolean) -> Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

Function CreateSubfolder(SubfolderName As String, FailIfExists As Boolean) As Folder

Parameters:

  • SubfolderName:
  • FailIfExists:

Delete .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Delete a folder.

 

method Delete

 

void Delete()

 

func Delete()

 

void Delete()

 

Sub Delete()

Exists .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Check if the folder exists.

 

method Exists: Boolean

 

Boolean Exists()

 

func Exists() -> Boolean

 

Boolean Exists()

 

Function Exists() As Boolean

GetFile .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Get a file inside this folder.

 

method GetFile(FileName: String): File

 

File GetFile(String FileName)

 

func GetFile(_ FileName: String) -> File

 

File GetFile(String FileName)

 

Function GetFile(FileName As String) As File

Parameters:

  • FileName:

GetFiles .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files in a given folder.

 

method GetFiles: not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles()

 

func GetFiles() -> ImmutableList<String>

 

ImmutableList<String> GetFiles()

 

Function GetFiles() As ImmutableList<String>

GetFiles (Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of files in a given folder.

 

method GetFiles(aRecursive: Boolean): not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

 

func GetFiles(_ aRecursive: Boolean) -> ImmutableList<String>

 

ImmutableList<String> GetFiles(Boolean aRecursive)

 

Function GetFiles(aRecursive As Boolean) As ImmutableList<String>

Parameters:

  • aRecursive:

GetSubfolders .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returrns a list of folders in a given folder.

 

method GetSubfolders: not nullable List<String>

 

List<String>! GetSubfolders()

 

func GetSubfolders() -> List<String>

 

List<String> GetSubfolders()

 

Function GetSubfolders() As List<String>

Rename .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Rename this folder.

 

method Rename(NewName: String): Folder

 

Folder Rename(String NewName)

 

func Rename(_ NewName: String) -> Folder

 

Folder Rename(String NewName)

 

Function Rename(NewName As String) As Folder

Parameters:

  • NewName: