2011-01-26 94 views
1

我是windows phone 7中的新手。我想在XML中做一些演示,但是我找不到XMLDocument类(就像我在Windows窗体上做的那样)。我无法在System.Xml中找到命名空间Linq,XPath ...(请参阅下图)。windows phone 7上的XML

enter image description here

回答

3

有它一个单独的程序,你将需要引用(System.Xml.Linq的)。一旦你有了,你将能够使用Linq 2 XML的东西(XDocument等)。 XmlDocument在Silverlight中不可用(因此在WP7中不可用)。

Jay