Xojo.IO.FolderItem.Parent

From Xojo Documentation

Read-Only Property (As Xojo.IO.FolderItem )
Xojo.IO.FolderItemValue = aXojo.IO.FolderItem.Parent

Supported for all project types and targets.

This is the parent folder of the FolderItem (based on the file system hierarchy). If the Parent is the root of the file system, this returns Nil.

Sample Code

Dim f As FolderItem = SpecialFolder.Documents
Dim parent As FolderItem = f.Parent