Folder

Overview

Folder related utilities.

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Standard 2.0, Island, Toffee, ToffeeV2
  • Mapped to: String

 

constructor

Creates a new instance for a given folder path.

 

constructor(aPath: not nullable String)

 

Folder(String! aPath)

 

init(_ aPath: String)

 

Sub New(aPath As String)

Parameters:

  • aPath:

CopyContentsTo (Folder, Boolean) Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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)

 

Sub CopyContentsTo(aNewFolder As Folder, aRecursive As Boolean)

Parameters:

  • aNewFolder:
  • aRecursive:

CopyContentsTo (Folder, Boolean) .NET, .NET Standard 2.0

 

method CopyContentsTo(aNewFolder: Folder; aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

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

 

Sub CopyContentsTo(aNewFolder As Folder, aRecursive As Boolean)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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)

 

Sub Create(FailIfExists As Boolean)

Parameters:

  • FailIfExists:

Create (Boolean) .NET, .NET Standard 2.0

 

method Create(FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

func Create(_ FailIfExists: Boolean)

 

Sub Create(FailIfExists As Boolean)

Parameters:

  • FailIfExists:

Create (Folder, Boolean): Folder .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

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

Parameters:

  • aFolderName:
  • FailIfExists:

CreateFile (String, Boolean): File Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

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

Parameters:

  • FileName:
  • FailIfExists:

CreateFile (String, Boolean): File .NET, .NET Standard 2.0

 

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

 

File CreateFile(String FileName, Boolean FailIfExists)

 

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

 

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

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder (String, Boolean): Folder Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

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

Parameters:

  • SubfolderName:
  • FailIfExists:

CreateSubfolder (String, Boolean): Folder .NET, .NET Standard 2.0

 

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

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

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

 

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

Parameters:

  • SubfolderName:
  • FailIfExists:

DateCreated Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returns the creation date.

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

ReadOnly Property DateCreated() As DateTime

DateCreated .NET, .NET Standard 2.0

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

ReadOnly Property DateCreated() As DateTime

DateModified Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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{} }

 

Property DateModified() As DateTime

DateModified .NET, .NET Standard 2.0

 

property DateModified: DateTime read write;

 

DateTime DateModified { get; set; }

 

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

 

Property DateModified() As DateTime

Delete Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Delete a folder.

 

method Delete

 

void Delete()

 

func Delete()

 

Sub Delete()

Delete (Folder) .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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)

 

Shared Sub Delete(aFolderName As Folder)

Parameters:

  • aFolderName:

Exists Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Check if the folder exists.

 

method Exists: Boolean

 

Boolean Exists()

 

func Exists() -> Boolean

 

Function Exists() As Boolean

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

Check if the folder exists.

 

class method Exists(aFolderName: nullable Folder): Boolean

 

static Boolean Exists(Folder? aFolderName)

 

// Toffee
static func Exists(_ aFolderName: Folder) -> Boolean
// ToffeeV2
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{} }

 

ReadOnly Property Extension() As String

FirstMatchingSubfolder (String, IEnumerable<String>): nullable String Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)

 

// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:

FirstMatchingSubfolder (String, IEnumerable<String>, Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>): nullable String Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String> aBuildPath)

 

// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>, _ aBuildPath: (String, String) -> String) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>, _ aBuildPath: (String, String) -> String) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>, aBuildPath As Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:
  • aBuildPath:

FirstMatchingSubfolder (String, IEnumerable<String>): nullable String .NET, .NET Standard 2.0

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)

 

func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:

FirstMatchingSubfolder (String, IEnumerable<String>, Func<String, String, String>): nullable String .NET, .NET Standard 2.0

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<String, String, String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<String, String, String> aBuildPath)

 

func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>, _ aBuildPath: Func<String, String, String>) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>, aBuildPath As Func (Of String, String, String)) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:
  • aBuildPath:

FullPath

Returns the full apth of this folder.

 

property FullPath: not nullable String read;

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

ReadOnly Property FullPath() As String

GetFile (String): File Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

Function GetFile(FileName As String) As File

Parameters:

  • FileName:

GetFile (String): File .NET, .NET Standard 2.0

 

method GetFile(FileName: String): File

 

File GetFile(String FileName)

 

func GetFile(_ FileName: String) -> File

 

Function GetFile(FileName As String) As File

Parameters:

  • FileName:

GetFiles Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

Function GetFiles() As ImmutableList<String>

GetFiles (Boolean): not nullable ImmutableList<String> Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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

Parameters:

  • aRecursive:

GetFiles (Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0

 

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

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

 

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

 

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

Parameters:

  • aRecursive:

GetFiles (Folder, Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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

Parameters:

  • aFolderName:
  • aRecursive:

GetFilesAndFolders .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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

Parameters:

  • aFolderName:

GetSubfolders Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

Function GetSubfolders() As List<String>

GetSubfolders (Folder): not nullable List<String> .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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{} }

 

ReadOnly Property Name() As String

Rename (String): Folder Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

Function Rename(NewName As String) As Folder

Parameters:

  • NewName:

Rename (String): Folder .NET, .NET Standard 2.0

 

method Rename(NewName: String): Folder

 

Folder Rename(String NewName)

 

func Rename(_ NewName: String) -> Folder

 

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{} }

 

Shared ReadOnly Property Separator() As Char

 

DateCreated Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Returns the creation date.

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

ReadOnly Property DateCreated() As DateTime

DateModified Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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{} }

 

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{} }

 

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{} }

 

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{} }

 

ReadOnly Property Name() As String

DateCreated .NET, .NET Standard 2.0

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

ReadOnly Property DateCreated() As DateTime

DateModified .NET, .NET Standard 2.0

 

property DateModified: DateTime read write;

 

DateTime DateModified { get; set; }

 

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

 

Property DateModified() As DateTime

Separator

Returns the separator for path elements in this folder.

 

class property Separator: Char read;

 

class Char Separator { get; }

 

static var Separator: Char { get{} }

 

Shared ReadOnly Property Separator() As Char

 

Create (Folder, Boolean): Folder .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

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

Parameters:

  • aFolderName:
  • FailIfExists:

Delete (Folder) .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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)

 

Shared Sub Delete(aFolderName As Folder)

Parameters:

  • aFolderName:

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

Check if the folder exists.

 

class method Exists(aFolderName: nullable Folder): Boolean

 

static Boolean Exists(Folder? aFolderName)

 

// Toffee
static func Exists(_ aFolderName: Folder) -> Boolean
// ToffeeV2
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, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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

Parameters:

  • aFolderName:
  • aRecursive:

GetFilesAndFolders .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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

Parameters:

  • aFolderName:

GetSubfolders (Folder): not nullable List<String> .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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)

 

Sub New(aPath As String)

Parameters:

  • aPath:

CopyContentsTo (Folder, Boolean) Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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)

 

Sub CopyContentsTo(aNewFolder As Folder, aRecursive As Boolean)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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)

 

Sub Create(FailIfExists As Boolean)

Parameters:

  • FailIfExists:

CreateFile (String, Boolean): File Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

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

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder (String, Boolean): Folder Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

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

Parameters:

  • SubfolderName:
  • FailIfExists:

Delete Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Delete a folder.

 

method Delete

 

void Delete()

 

func Delete()

 

Sub Delete()

Exists Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

Check if the folder exists.

 

method Exists: Boolean

 

Boolean Exists()

 

func Exists() -> Boolean

 

Function Exists() As Boolean

FirstMatchingSubfolder (String, IEnumerable<String>): nullable String Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)

 

// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:

FirstMatchingSubfolder (String, IEnumerable<String>, Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>): nullable String Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String> aBuildPath)

 

// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>, _ aBuildPath: (String, String) -> String) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>, _ aBuildPath: (String, String) -> String) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>, aBuildPath As Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:
  • aBuildPath:

GetFile (String): File Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

Function GetFile(FileName As String) As File

Parameters:

  • FileName:

GetFiles Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

Function GetFiles() As ImmutableList<String>

GetFiles (Boolean): not nullable ImmutableList<String> Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

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

Parameters:

  • aRecursive:

GetSubfolders Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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>

 

Function GetSubfolders() As List<String>

Rename (String): Folder Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, 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

 

Function Rename(NewName As String) As Folder

Parameters:

  • NewName:

CopyContentsTo (Folder, Boolean) .NET, .NET Standard 2.0

 

method CopyContentsTo(aNewFolder: Folder; aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

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

 

Sub CopyContentsTo(aNewFolder As Folder, aRecursive As Boolean)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) .NET, .NET Standard 2.0

 

method Create(FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

func Create(_ FailIfExists: Boolean)

 

Sub Create(FailIfExists As Boolean)

Parameters:

  • FailIfExists:

CreateFile (String, Boolean): File .NET, .NET Standard 2.0

 

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

 

File CreateFile(String FileName, Boolean FailIfExists)

 

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

 

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

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder (String, Boolean): Folder .NET, .NET Standard 2.0

 

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

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

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

 

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

Parameters:

  • SubfolderName:
  • FailIfExists:

FirstMatchingSubfolder (String, IEnumerable<String>): nullable String .NET, .NET Standard 2.0

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)

 

func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:

FirstMatchingSubfolder (String, IEnumerable<String>, Func<String, String, String>): nullable String .NET, .NET Standard 2.0

 

method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<String, String, String>): nullable String

 

String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<String, String, String> aBuildPath)

 

func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>, _ aBuildPath: Func<String, String, String>) -> String?

 

Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>, aBuildPath As Func (Of String, String, String)) As String?

Parameters:

  • aFolder:
  • aSubFolderOptions:
  • aBuildPath:

GetFile (String): File .NET, .NET Standard 2.0

 

method GetFile(FileName: String): File

 

File GetFile(String FileName)

 

func GetFile(_ FileName: String) -> File

 

Function GetFile(FileName As String) As File

Parameters:

  • FileName:

GetFiles (Boolean): not nullable ImmutableList<String> .NET, .NET Standard 2.0

 

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

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

 

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

 

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

Parameters:

  • aRecursive:

Rename (String): Folder .NET, .NET Standard 2.0

 

method Rename(NewName: String): Folder

 

Folder Rename(String NewName)

 

func Rename(_ NewName: String) -> Folder

 

Function Rename(NewName As String) As Folder

Parameters:

  • NewName: