Méthode ExpressionNode.ReadElementWithCheck
Reads a named serialized element using the XML Reader and returns the value.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Protected Shared Function ReadElementWithCheck ( _
xr As XmlReader, _
name As String _
) As String
'Utilisation
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
Paramètres
- xr
Type : System.Xml.XmlReader
An XmlReader object value that specifies the XML reader used to read the specified object.
- name
Type : System.String
A String value that contains the name of the object to read.
Valeur de retour
Type : System.String
A String value that contains the value with the specified name.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.