System.Xml中的SelectSingleNode方法? [英] SelectSingleNode method in System.Xml?

查看:70
本文介绍了System.Xml中的SelectSingleNode方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://github.com/dotnet/corefx/issues/17349

https://github.com/dotnet/corefx/issues/17349

我们在System.Xml中没有SelectSingleNode方法,但我们看到了avobe post添加

.Net Core 1.0和.Net Standard 1.3
 扩展。

We don't have SelectSingleNode method in System.Xml but looking avobe post we have to add .Net Core 1.0 and .Net Standard 1.3 extension.

我查看了工具和扩展程序更新,无法找到它。

I looked under tools and extensions update and unable to find it.

请帮我添加。

问候

Agha Khan

Agha Khan

推荐答案

嗨Agha,

请使用  tagging  < span style ="font-family:Calibri; font-size:11.0pt">何时
发布到这个论坛,谢谢!

我认为您正在寻找  System.Xml.XPath.XmlDocument Nuget,在这个Nuget中,你可以得到
System.Xml.XmlDocumentXPathExtensions 类,它有  SelectSingleNode  方法。

I think you are seeking for the System.Xml.XPath.XmlDocument Nuget, in this Nuget, you can get the System.Xml.XmlDocumentXPathExtensions class and it has the SelectSingleNode method.

此外,在UWP中,  Windows.Data.Xml.Dom.XmlDocument 类。

Besides, in UWP, there also is a SelectSingleNode method in the Windows.Data.Xml.Dom.XmlDocument Class.

祝你好运,

Breeze


这篇关于System.Xml中的SelectSingleNode方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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