开发者

Windows Mobile and Properties.Settings.Default

开发者 https://www.devze.com 2022-12-23 23:21 出处:网络
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 stand开发者_Go百科ard .Net. Is there an equiv

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 stand开发者_Go百科ard .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.

0

精彩评论

暂无评论...
验证码 换一张
取 消