Add custom types to the settings

suddenelfilio

Well-known member
Joined
Jun 3, 2004
Messages
144
Location
Belgium
Programming Experience
5-10
Hello,

I was wondering if it is possible to add my own types to the Settings.settings file in vb.net 2005. I tried using browse, but I can't seem to find my types in the list or this only limited to the frameork types?

regards, Filip
 
I've tried to do something similar myself and was unable to. I can't find anything definitive that says that you cannot use your own types but I can't find a way to do so. Perhaps you're limited to .NET types because it knows how to serialise them, although I tried it with an enumerated type and couldn't and that's about as simple as it gets. I've also tried to create a setting using a SortedList and it let's you create the setting but not add any items. I guess there's still room for improvement.
 
Back
Top