Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
System
Xml
Linq
XmlHelper
GetXElement
System.Xml.Linq.XmlHelper.GetXElement C# (CSharp) Method
XmlHelper Class Documentation
显示文件
Open project: v5bep7/Utility
GetXElement()
public
method
获取xPath匹配到的第一个元素
public
GetXElement
(
string
xPath
) :
System.Xml.Linq.XElement
xPath
string
xPath表达式
return
System.Xml.Linq.XElement
public XElement GetXElement(string xPath) { return _doc.XPathSelectElement(xPath); }
XmlHelper
AppendRange
AppendXElement
GetAttributeValue
GetAttributesValue
GetXElement
GetXElementText
GetXElements
Remove
RemoveAttribute
Save
SetAttribute
Update
XmlHelper