DataNode.SelectSingleNode - Méthode

Sélectionne un nœud unique basé sur l'expression XPath spécifiée.

Espace de noms :  Microsoft.Web.CommandUI
Assembly :  Microsoft.Web.CommandUI (dans Microsoft.Web.CommandUI.dll)

Syntaxe

'Déclaration
Public Function SelectSingleNode ( _
    xpath As String _
) As DataNode
'Utilisation
Dim instance As DataNode
Dim xpath As String
Dim returnValue As DataNode

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

Paramètres

  • xpath
    Type : System.String

    Une expression XPath utilisée pour sélectionner des nœuds.

Valeur renvoyée

Type : Microsoft.Web.CommandUI.DataNode
DataNode qui contient les nœuds sélectionnés par l'expression XPath.

Remarques

Un ensemble limité de XPath expressions sont prises en charge dans cette méthode.

Voir aussi

Référence

DataNode classe

DataNode - Membres

Microsoft.Web.CommandUI - Espace de noms