ApplicationSettingsBase.Save()有效,但是保存的数据在哪里? [英] ApplicationSettingsBase.Save() works, but where is the saved data?

查看:362
本文介绍了ApplicationSettingsBase.Save()有效,但是保存的数据在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有设置的应用程序,因此它为我创建了所有配置.

我有类似
的代码

I have an application with Settings, so it creates all the configuration for me.

I have the code like

<身体>
Properties.Settings.Default.MyNumber = 123;
Properties.Settings.Default.Save();
Properties.Settings.Default.MyNumber = 123;   
Properties.Settings.Default.Save(); 

推荐答案

Hardy,

您是否检查过user.config文件?

SaltFish
Hardy,

did you check your user.config file?

SaltFish


这篇关于ApplicationSettingsBase.Save()有效,但是保存的数据在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆