XmlUtility.SelectNextElement 方法 (XmlTextReader, String)
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Shared Function SelectNextElement ( _
reader As XmlTextReader, _
strName As String _
) As Boolean
用法
Dim reader As XmlTextReader
Dim strName As String
Dim returnValue As Boolean
returnValue = XmlUtility.SelectNextElement(reader, _
strName)
public static bool SelectNextElement(
XmlTextReader reader,
string strName
)
public:
static bool SelectNextElement(
XmlTextReader^ reader,
String^ strName
)
static member SelectNextElement :
reader:XmlTextReader *
strName:string -> bool
public static function SelectNextElement(
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 next element by name; otherwise, false.