ExpressionNode.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 版支援此命名空間、類別或成員。