It shows up in the VisualStudio help but I'm too stupid to figure out how to use it. Wrong namespace, not found, who knows. I don't.

I solved the above casting issue by copying the saved object into a temporary correct object, then I can access the the .text, .checked, etc.

But that that point I need to convert strings to the given type.

I guess I can write my own strto_whatever, but it seems so wrong. It has to be there, doesn't it?