简体   繁体   中英

C# Save only one item in Application settings

When you use:

Properties.Settings.Default.Save();

It saves all settings. Is it possible to somehow only save one specific setting ?

Just change one property and at a time and call Save after it

Properties.Settings.Default.MyProperty = "ABC";
Properties.Settings.Default.Save();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM