XdsUtilgetFirstChildElementByTagName Method |
Get the first child element of the passed parent node whose name matches that passed.
Namespace: DXMLBase.XdsAssembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static XmlElement getFirstChildElementByTagName(
XmlNode parent,
string namespaceURI,
string tagName
)
Public Shared Function getFirstChildElementByTagName (
parent As XmlNode,
namespaceURI As String,
tagName As String
) As XmlElement
public:
static XmlElement^ getFirstChildElementByTagName(
XmlNode^ parent,
String^ namespaceURI,
String^ tagName
)
static member getFirstChildElementByTagName :
parent : XmlNode *
namespaceURI : string *
tagName : string -> XmlElement
Parameters
- parent
- Type: System.XmlXmlNode
The parent node. - namespaceURI
- Type: SystemString
The namespace URI (may be NULL_NAMESPACE, WILDCARD_NAMESPACE, but
may not be null). - tagName
- Type: SystemString
The local part of the element name (may be WILDCARD_NAME, but may
not be null).
Return Value
Type:
XmlElementThe first matching child element, or null if there is no such child element.
See Also