Gary Willoughby:
Yes exactly but i would like to preserve the types of differently typed properties so i can cast them back on retrieval.
A Variant needs to keep the type of the value you have stored in, look at the Variant documentation. (But the usual limitations of a ahead-of-time compiled statically typed language apply.)
Bye, bearophile