Portable Class Library, XmlAnyElementAttribute

僤鯓⒐⒋嵵緔 提交于 2019-12-06 13:15:29

Sorry for the late reply. As you've noticed you can't use XmlElement in portable, this is due to it only being available in .NET Framework. Silverlight, Phone and Windows Store apps do not expose this type.

However, we do have a replacement, when targeting .NET 4.0.3 and above in portable (which is required to get XLINQ support), you can use XElement* as a replacement with XmlAnyElementAttribute.

* I just filed a bug to make this a little clearer in the docs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!