Partager via


Méthode XmlUtility.SelectElementByName

Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Shared Function SelectElementByName ( _
    reader As XmlTextReader, _
    strName As String _
) As Boolean
'Utilisation
Dim reader As XmlTextReader 
Dim strName As String 
Dim returnValue As Boolean 

returnValue = XmlUtility.SelectElementByName(reader, _
    strName)
public static bool SelectElementByName(
    XmlTextReader reader,
    string strName
)
public:
static bool SelectElementByName(
    XmlTextReader^ reader, 
    String^ strName
)
static member SelectElementByName : 
        reader:XmlTextReader * 
        strName:string -> bool
public static function SelectElementByName(
    reader : XmlTextReader, 
    strName : String
) : boolean

Paramètres

  • strName
    Type : System.String
    A string that represents the string name.

Valeur de retour

Type : System.Boolean
true to select the first element with the given name; otherwise, false.

Voir aussi

Référence

XmlUtility Classe

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc