Method
GetTemporaryFolderItem
Warning
This item was deprecated in version 2019r2. Please use FolderItem.TemporaryFile as a replacement.
Description
The GetTemporaryFolderItem function creates a FolderItem object in the current Temporary Folder. See the SpecialFolder module for information on the paths for each platform.
Usage
result=GetTemporaryFolderItem
Part |
Type |
Description |
---|---|---|
result |
FolderItem object that refers to a document in the Temporary Folder. |
Notes
On Xojo Cloud, you are restricted to using the specific names returned by this method. If you need a generic folder for your own temporary files, use SpecialFolder.Temporary instead.
Sample code
The following code creates FolderItem in the active Temporary folder and displays its absolute pathname.
Dim f As FolderItem
f = GetTemporaryFolderItem
MsgBox(f.NativePath)
Compatibility
All project types on all supported operating systems.
See also
FolderItem class; SpecialFolder module.