DataNode.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)


Public Function SelectSingleNode ( _
    xpath As String _
) As DataNode
Dim instance As DataNode
Dim xpath As String
Dim returnValue As DataNode

returnValue = instance.SelectSingleNode(xpath)
public DataNode SelectSingleNode(
    string xpath


  • xpath
    Type: System.String

    An XPath expression used to select nodes.

Return Value

Type: Microsoft.Web.CommandUI.DataNode
A DataNode that contains the node selected by the XPath expression.


Only a limited set of XPath expressions are supported in this method.

See Also


DataNode Class

DataNode Members

Microsoft.Web.CommandUI Namespace