C# .NET Application Settings and Upgrading

前端 未结 1 2001
小蘑菇
小蘑菇 2021-02-14 04:31

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 versio

1条回答
  •  死守一世寂寞
    2021-02-14 04:51

    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 讨论(0)
提交回复
热议问题