Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Indicates whether the current entity is an element with the given name. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Shared Function IsElement ( _
reader As XmlTextReader, _
strName As String _
) As Boolean
'Применение
Dim reader As XmlTextReader
Dim strName As String
Dim returnValue As Boolean
returnValue = XmlUtility.IsElement(reader, _
strName)
public static bool IsElement(
XmlTextReader reader,
string strName
)
public:
static bool IsElement(
XmlTextReader^ reader,
String^ strName
)
static member IsElement :
reader:XmlTextReader *
strName:string -> bool
public static function IsElement(
reader : XmlTextReader,
strName : String
) : boolean
Параметры
- reader
Тип: System.Xml.XmlTextReader
The text reader to use.
- strName
Тип: System.String
A string that represents the string name.
Возвращаемое значение
Тип: System.Boolean
true if the current entity is an element with the given name; otherwise, false.