XmlUtility.SelectChildrenByAttribute Método
Selects the children elements by attribute. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Shared Function SelectChildrenByAttribute ( _
reader As XmlTextReader, _
strAttribute As String, _
strValue As String _
) As Boolean
'Uso
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
Parámetros
- reader
Tipo: System.Xml.XmlTextReader
The text reader to use.
- strAttribute
Tipo: System.String
A string value for the Attribute.
- strValue
Tipo: System.String
A string that represents the Value.
Valor devuelto
Tipo: System.Boolean
true if the children elements are selected by their attributes; otherwise, false.