Condividi tramite


Metodo ReadElementWithCheck

Reads a named serialized element using the XML Reader and returns the value.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Protected Shared Function ReadElementWithCheck ( _
    xr As XmlReader, _
    name As String _
) As String
'Utilizzo
Dim xr As XmlReader
Dim name As String
Dim returnValue As String

returnValue = ExpressionNode.ReadElementWithCheck(xr, _
    name)
protected static string ReadElementWithCheck(
    XmlReader xr,
    string name
)
protected:
static String^ ReadElementWithCheck(
    XmlReader^ xr, 
    String^ name
)
static member ReadElementWithCheck : 
        xr:XmlReader * 
        name:string -> string 
protected static function ReadElementWithCheck(
    xr : XmlReader, 
    name : String
) : String

Parametri

Valore restituito

Tipo: System. . :: . .String
A String value that contains the value with the specified name.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.