IsElement 方法

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

参数

返回值

类型:System. . :: . .Boolean
true if the current entity is an element with the given name; otherwise, false.