Selects the first XmlNode that matches the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied XmlNamespaceManager.
To implement XmlNode you need to specify the Namespace and Assembly and that required details are mentioned as below:
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
I will also provide you the Visual basic declaration
Code:
Public Function SelectSingleNode ( _
xpath As String, _
nsmgr As XmlNamespaceManager _
) As XmlNode
for more information check here
Bookmarks