Partager via


Méthode SelectChildrenByAttribute

Selects the children elements by attribute. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Shared Function SelectChildrenByAttribute ( _
    reader As XmlTextReader, _
    strAttribute As String, _
    strValue As String _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if the children elements are selected by their attributes; otherwise, false.