c#的我知道,可是vb.net是怎么表示的? Assembly code: Dim node As System.Xml.XmlNode = xmlDoc.SelectSingleNode("root/" & key) 'key节点 If node Is Nothing Then '不存在 End If
VB.NET code: Dim node As System.Xml.XmlNode = xmlDoc.SelectSingleNode("root/" & key) 'key节点 If node Is Nothing Then '不存在 End If
Dim node As System.Xml.XmlNode = xmlDoc.SelectSingleNode("//Root/A[@id=" & id & "]") If node IsNot Nothing Then End If 为了问问题, 先的赚赚