Variant.Hash
From Xojo Documentation
Method
Returns a hash value for the Variant, i.e., one that will always be the same for any variant with the same value.
Notes
For objects, it is guaranteed to be unique among all objects currently in existence (though once an object dies, a future object may use the same hash value).