FolderItem.Constructor(f as FolderItem)
From Xojo Documentation
Constructor
Creates a new FolderItem. You can create a copy of a FolderItem by passing the FolderItem to be copied to the constructor. The result is a copy of the passed FolderItem rather than a reference to it.
Example
For example:
If you pass a Nil FolderItem, you will raise a NilObjectException.