ReadElementWithCheck 方法
Reads a named serialized element using the XML Reader and returns the value.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Protected Shared Function ReadElementWithCheck ( _
xr As XmlReader, _
name As String _
) As String
用法
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
参数
- xr
类型:System.Xml. . :: . .XmlReader
An XmlReader object value that specifies the XML reader used to read the specified object.
- name
类型:System. . :: . .String
A String value that contains the name of the object to read.
返回值
类型:System. . :: . .String
A String value that contains the value with the specified name.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。