XmlUtility.SelectChildrenByName 方法
Selects the children elements by name. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Shared Function SelectChildrenByName ( _
reader As XmlTextReader, _
strName As String _
) As Boolean
用法
Dim reader As XmlTextReader
Dim strName As String
Dim returnValue As Boolean
returnValue = XmlUtility.SelectChildrenByName(reader, _
strName)
public static bool SelectChildrenByName(
XmlTextReader reader,
string strName
)
public:
static bool SelectChildrenByName(
XmlTextReader^ reader,
String^ strName
)
static member SelectChildrenByName :
reader:XmlTextReader *
strName:string -> bool
public static function SelectChildrenByName(
reader : XmlTextReader,
strName : String
) : boolean
参数
- reader
类型:System.Xml.XmlTextReader
The text reader to use.
- strName
类型:System.String
A string value for the Name.
返回值
类型:System.Boolean
true if the children elements are selected by name; otherwise, false.