SpotlightItem.Handle

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aSpotlightItem.Handle

Supported for all project types and targets.

Returns a handle to an MDItemRef.

Notes

This can be used in Declare statements to access features that are not provided by SpotlightQuery.