Properties.Settings.Default.Save(); -> Where is that file

前端 未结 4 2081
北恋
北恋 2020-12-01 21:25

I have app that uses Settings. To save settings I use:

Properties.Settings.Default.Save();

To read tham I use:

Properties.S         


        
4条回答
  •  感情败类
    2020-12-01 21:44

    On My Windows XP machine, the settings are saved in a file called user.config somewhere under either C:\Documents and Settings\\Application Data\ or C:\Documents and Settings\\Local Settings\Application Data\

    Update:

    On Windows Vista and later, the locations have changed to C:\Users\\AppData\Roaming\ and C:\Users\\AppData\Local\

提交回复
热议问题