HttpUtility.HtmlDecode in WinRT

廉价感情. 提交于 2019-12-10 01:21:16

问题


Is there an equivalent to HttpUtility.HtmlDecode in WinRT? I'm developing a MetroStyle app and want to decode strings that came from a XML doc.


回答1:


According to this answer from a Microsoft employee, there's currently no replacement for HtmlDecode in the WinRT that's included in the Windows 8 Developer Preview.

However, there will be a replacement in the next pre-release version of WinRT.




回答2:


Use System.Net.WebUtility instead



来源:https://stackoverflow.com/questions/8341882/httputility-htmldecode-in-winrt

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