Xojo.IO.FolderItem
From Xojo Documentation
Class (inherits from Object)
The FolderItem class represents files, applications, folders and other items in the file system.
Properties | ||||||||||||||||
|
Methods | ||||||
|
Constructors | |
|
Notes
Implements Xojo.Core.Iterable.
On iOS, to get a reference to a FolderItem, use SpecialFolder. For example:
To convert a classic FolderItem to a Xojo.IO.FolderItem, use the Constructor like this:
Var classicFile As FolderItem = GetFolderItem("")
Var newFile As New Xojo.IO.FolderItem(classicFile.NativePath.ToText)
Var newFile As New Xojo.IO.FolderItem(classicFile.NativePath.ToText)
To convert Xojo.IO.FolderItem to a classic FolderItem:
Var newFile As Xojo.IO.FolderItem = Xojo.IO.SpecialFolder.GetResource("MyFile.txt")
Var classicFile As New FolderItem(newFile.Path, FolderItem.PathTypeNative)
Var classicFile As New FolderItem(newFile.Path, FolderItem.PathTypeNative)
See Also
Xojo.IO.TextInputStream, Xojo.IO.BinaryStream classes; Xojo.IO.SpecialFolder module