IsolatedStorageSettings的问题不能持久化对象 - InvalidDataContractException [英] Problems with IsolatedStorageSettings can't persist an object - InvalidDataContractException

查看:59
本文介绍了IsolatedStorageSettings的问题不能持久化对象 - InvalidDataContractException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


 


我有一个简单的对象


 
public < span style ="color:Blue;"> class ColorTheme
{
public string 名称{ get ; set ; }

public string 文件夹{获得; set ; }

public Color ColorCodeRGB { get ; set ; }

public SolidColorBrush ColorBrush { get ; set ; }
}

解决方案

Hi Inteist,


此论坛适用于在Windows 8开发人员预览版中开发Metro风格应用程序。请在

中发布有关Windows Phone编程的问题
App Hub 上的Windows Phone 7论坛。


- Rob


Hi,

 

I have a simple object

    public class ColorTheme
    {
        public string Name { get; set; }

        public string Folder { get; set; }

        public Color ColorCodeRGB { get; set; }

        public SolidColorBrush ColorBrush { get; set; }
    }

解决方案

Hi Inteist,

This forum is for developing Metro style apps on the Windows 8 Developer Preview. Please post questions about Windows Phone programming in the Windows Phone 7 forums at the App Hub.

--Rob


这篇关于IsolatedStorageSettings的问题不能持久化对象 - InvalidDataContractException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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