Selects the children elements by attribute. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Shared Function SelectChildrenByAttribute ( _
reader As XmlTextReader, _
strAttribute As String, _
strValue As String _
) As Boolean
'用途
Dim reader As XmlTextReader
Dim strAttribute As String
Dim strValue As String
Dim returnValue As Boolean
returnValue = XmlUtility.SelectChildrenByAttribute(reader, _
strAttribute, strValue)
public static bool SelectChildrenByAttribute(
XmlTextReader reader,
string strAttribute,
string strValue
)
public:
static bool SelectChildrenByAttribute(
XmlTextReader^ reader,
String^ strAttribute,
String^ strValue
)
static member SelectChildrenByAttribute :
reader:XmlTextReader *
strAttribute:string *
strValue:string -> bool
public static function SelectChildrenByAttribute(
reader : XmlTextReader,
strAttribute : String,
strValue : String
) : boolean
參數
- reader
型別:System.Xml.XmlTextReader
The text reader to use.
- strAttribute
型別:System.String
A string value for the Attribute.
- strValue
型別:System.String
A string that represents the Value.
傳回值
型別:System.Boolean
true if the children elements are selected by their attributes; otherwise, false.