简体   繁体   中英

Windows Mobile and Properties.Settings.Default

I'm starting on work on my first Windows Mobile 6.5 app in C#, and I'd like to use something similar to the Properties.Settings.Default functionality in standard .Net. Is there an equivalent in Windows Mobile 6.5?

The work-horse class here is System.Configuration.ApplicationSettingsBase. Not available in the Compact Framework. With the considerable amount of glue needed to support this class, adding it yourself isn't an option either.

The System.Xml namespace contains what you need to serialize your own "settings" object.

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