Platforms to show: All Mac Windows Linux Cross-Platform
Back to FolderItem class.
FolderItem.CountMBS as Integer Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS MacClassic Plugin | 3.2 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
This item is deprecated and should no longer be used.
You can use folderitem.Count instead.
Returns the number of items in this folder.
The count property of the Xojo folderitem class is cached.
So if you create a file, the count property may not update.
If you need a more up to date value, you can use the CountMBS function to return the value the Mac OS system software returns.
On any error (e.g. invalid folderitem) the function returns 0.
Windows support added in 4.2dr2.
Some examples using this method:
Blog Entries
The items on this page are in the following plugins: MBS MacClassic Plugin.