Click or drag to resize
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.Xds
Assembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static XmlElement getFirstChildElementByTagNameWithAttrValue(
	XmlNode parentNode,
	string namespaceURI,
	string localPart,
	string attrNamespaceURI,
	string attrLocalPart,
	string attrValue
)

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: XmlElement
the first matching child element or null if no such element exists
See Also