RibbonDocument.SelectSingleNode Method
Selects a single node based on the specified XPath expression.
Namespace: Microsoft.Web.CommandUI
Assembly: Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)
Syntax
'Declaration
Public Function SelectSingleNode ( _
xpath As String _
) As DataNode
'Usage
Dim instance As RibbonDocument
Dim xpath As String
Dim returnValue As DataNode
returnValue = instance.SelectSingleNode(xpath)
public DataNode SelectSingleNode(
string xpath
)
Parameters
xpath
Type: System.StringAn XPath expression that selects a single XML node.
Return Value
Type: Microsoft.Web.CommandUI.DataNode
A node within the document.
Remarks
This method only supports a limited set of XPath expressions.