SelectElementByName 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Shared Function SelectElementByName ( _
    reader As XmlTextReader, _
    strName As String _
) As Boolean
用法
Dim reader As XmlTextReader
Dim strName As String
Dim returnValue As Boolean

returnValue = XmlUtility.SelectElementByName(reader, _
    strName)
public static bool SelectElementByName(
    XmlTextReader reader,
    string strName
)
public:
static bool SelectElementByName(
    XmlTextReader^ reader, 
    String^ strName
)
static member SelectElementByName : 
        reader:XmlTextReader * 
        strName:string -> bool 
public static function SelectElementByName(
    reader : XmlTextReader, 
    strName : String
) : boolean

参数

返回值

类型:System. . :: . .Boolean
true to select the first element with the given name; otherwise, false.