开发者

Why System.Xml doesn't contain XmlDocument in Silverlight?

开发者 https://www.devze.com 2023-02-17 18:17 出处:网络
I cannot find this class in silverlight and searching the intern开发者_Go百科et has been clueless. So what\'s the equivalent of this class in silverlight ?XDocument ->

I cannot find this class in silverlight and searching the intern开发者_Go百科et has been clueless. So what's the equivalent of this class in silverlight ?


XDocument -> Example

XDocument xmlStories = XDocument.Parse("</a>");
// or
XDocument xmlStories = XDocument.Load(stream);

Based on searches it appears Microsoft wanted a more LINQ friendly implementation which is XDocument.

0

精彩评论

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

关注公众号