หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Indicates whether the current entity is an element with the given name. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Shared Function IsElement ( _
reader As XmlTextReader, _
strName As String _
) As Boolean
'Usage
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
Parameters
- reader
Type: System.Xml.XmlTextReader
The text reader to use.
- strName
Type: System.String
A string that represents the string name.
Return Value
Type: System.Boolean
true if the current entity is an element with the given name; otherwise, false.