开发者

C# .NET Application Settings and Upgrading

开发者 https://www.devze.com 2023-01-10 19:36 出处:网络
I use Settings.Default开发者_高级运维.MySettingName & Settings.Default.Save to save and load settings. When I change my version number how am I able to get the settings from the old version and ap

I use Settings.Default开发者_高级运维.MySettingName & Settings.Default.Save to save and load settings. When I change my version number how am I able to get the settings from the old version and apply to them my new version? I just can't quite figure it out.


Settings.Upgrade() looks like it has some promise - check out this post - and note that this method should be called once-and-only-once by your application.

0

精彩评论

暂无评论...
验证码 换一张
取 消