Platforms to show: All Mac Windows Linux Cross-Platform
Back to FileMappingMBS class.
FileMappingMBS.DeleteFileOnClose as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Useful if a tempory file is used as backstore.
(Read and Write property)
Some examples using this property:
FileMappingMBS.DeleteSharedMemory as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
True by default after Creating a shared memory object.
On Windows the shared memory objects exist as long as someone uses them.
On Mac OS X they live until you kill them even if your application is not running.
(Read and Write property)
See also:
Some examples using this property:
FileMappingMBS.File as FolderItem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
FileMappingMBS.isWriteable as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Opening files for reading only in order to read inside gives the operation system some optimization possibilities.
(Read only property)
FileMappingMBS.Lasterror as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
On Windows typically a Windows error code.
On Linux and Mac OS X typically 0 for success and other values for errors.
(Read and Write property)
FileMappingMBS.LasterrorString as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Only implemented for Windows.
Returns "" on any error.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
FileMappingMBS.SharedMemorySize as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 18.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Only valid for shared memory objects in handle.
(Read only property)
FileMappingMBS.ShrinkFileOnClose as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Filemapping and Shared Memory | MBS Util Plugin | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default false.
(Read and Write property)
Some examples using this property:
The items on this page are in the following plugins: MBS Util Plugin.