不要直接在程式碼中參照此成員。其支援 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
參數
- reader
型別:System.Xml.XmlTextReader
The text reader to use.
- strName
型別:System.String
A string that represents the string name.
傳回值
型別:System.Boolean
true to select the first element with the given name; otherwise, false.