Platforms to show: All Mac Windows Linux Cross-Platform

NSMetadataItemMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The NSMetadataItem class represents the metadata associated with a file, providing a simple interface to retrieve the available attribute names and values.
Example
// show details of the files a Spotlight query found
// Query is a property of the window: Query As NSMetadataQueryMBS (see there)
If Query = Nil Then Return

For Each item As NSMetadataItemMBS In Query.results
System.DebugLog item.DisplayName + ": " + item.FileSize.ToString + " bytes, created " + item.FileCreationDateTime.ToString + _
", in iCloud: " + item.IsUbiquitous.ToString
Next

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no subclasses.

Blog Entries

Some methods using this class:

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS MacCloud Plugin.


NSMenuToolbarItemMBS   -   NSMetadataQueryMBS


The biggest plugin in space...