MDItemMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to MDItemMBS class.

MDItemMBS.DisplayName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The localized version of the file name.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.DisplayName // shows "Schreibtisch"

This is a shortcut for AttributeString(kMDItemDisplayName).
(Read only property)

MDItemMBS.FSName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The file name of the item.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.FSName // shows "Desktop"

This is a shortcut for AttributeString(kMDItemFSName).
(Read only property)

MDItemMBS.FSSize as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The size, in bytes, of the file on disk.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox str(item.FSSize) // shows 0

This is a shortcut for AttributeString(kMDItemFSSize).
(Read only property)

MDItemMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal reference to the item.

(Read and Write property)

MDItemMBS.Path as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The complete path to the file.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.path // shows "/Users/cs/Desktop"

This is a shortcut for AttributeString(kMDItemPath).
(Read only property)

MDItemMBS.Tag as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 11.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The attached value.

You can use this property as you like.
(Read and Write property)

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


💬 Ask a question or report a problem