Compartir a través de


XmlUtility.SelectElementByName Método

No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Shared Function SelectElementByName ( _
    reader As XmlTextReader, _
    strName As String _
) As Boolean
'Uso
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

Parámetros

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

Valor devuelto

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

Vea también

Referencia

XmlUtility Clase

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc