XdsUtilgetFirstChildElementByTagNameWithAttrValue Method |
Get the first child element of a node with a particular tag name and
a particular attribute/value pair (value is case sensitive)
Namespace: DXMLBase.XdsAssembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static XmlElement getFirstChildElementByTagNameWithAttrValue(
XmlNode parentNode,
string namespaceURI,
string localPart,
string attrNamespaceURI,
string attrLocalPart,
string attrValue
)
Public Shared Function getFirstChildElementByTagNameWithAttrValue (
parentNode As XmlNode,
namespaceURI As String,
localPart As String,
attrNamespaceURI As String,
attrLocalPart As String,
attrValue As String
) As XmlElement
public:
static XmlElement^ getFirstChildElementByTagNameWithAttrValue(
XmlNode^ parentNode,
String^ namespaceURI,
String^ localPart,
String^ attrNamespaceURI,
String^ attrLocalPart,
String^ attrValue
)
static member getFirstChildElementByTagNameWithAttrValue :
parentNode : XmlNode *
namespaceURI : string *
localPart : string *
attrNamespaceURI : string *
attrLocalPart : string *
attrValue : string -> XmlElement
Parameters
- parentNode
- Type: System.XmlXmlNode
the parent node - namespaceURI
- Type: SystemString
the namespace URI of the qualified tag name - localPart
- Type: SystemString
the local part of the qualified tag name - attrNamespaceURI
- Type: SystemString
the namespace URI of the attribute's qualified name - attrLocalPart
- Type: SystemString
the local part of the attribute's qualified name - attrValue
- Type: SystemString
the attribute value
Return Value
Type:
XmlElementthe first matching child element or null if no such element exists
See Also