Metodo XmlUtility.SelectElementByName
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Shared Function SelectElementByName ( _
reader As XmlTextReader, _
strName As String _
) As Boolean
'Utilizzo
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
Parametri
- reader
Tipo: System.Xml.XmlTextReader
The text reader to use.
- strName
Tipo: System.String
A string that represents the string name.
Valore restituito
Tipo: System.Boolean
true to select the first element with the given name; otherwise, false.