Método ExpressionNode.ReadElementWithCheck
Reads a named serialized element using the XML Reader and returns the value.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: System.String
A String value that contains the value with the specified name.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.