开发者

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 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜