ReadElementWithCheck Método
Reads a named serialized element using the XML Reader and returns the value.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Protected Shared Function ReadElementWithCheck ( _
xr As XmlReader, _
name As String _
) As String
'Uso
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
Parámetros
- xr
Tipo: System.Xml. . :: . .XmlReader
An XmlReader object value that specifies the XML reader used to read the specified object.
- name
Tipo: System. . :: . .String
A String value that contains the name of the object to read.
Valor devuelto
Tipo: System. . :: . .String
A String value that contains the value with the specified name.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.