CustomXMLNode.SelectSingleNode Method
Selects a single node from a collection matching an XPath expression. This method differs from the _CustomXMLPart.SelectSingleNode(String) method in that the XPath expression will be evaluated starting with the 'expression' node as the context node.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function SelectSingleNode ( _
XPath As String _
) As CustomXMLNode
'Usage
Dim instance As CustomXMLNode
Dim XPath As String
Dim returnValue As CustomXMLNode
returnValue = instance.SelectSingleNode(XPath)
CustomXMLNode SelectSingleNode(
string XPath
)
Parameters
XPath
Type: System.StringContains an XPath expression.
Return Value
Type: Microsoft.Office.Core.CustomXMLNode
CustomXMLNode