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