Variant.Hash

From Xojo Documentation

Method

Variant.Hash() As Integer

Supported for all project types and targets.

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).