Метод 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.