Mono Class Library: System.Xml.XmlDocument Overview | MembersSystem.Xml.XmlDocument.GetElementsByTagName Method |
Returns a node list which contains descendant elements of this document which match the specified name. [Edit]
|
System.Xml.XmlNodeList that contains the resulting elements. [Edit]
It searches such descendant element nodes of this document whose local name and namespace URI matches the arguments, and returns the list of the matching nodes as an System.Xml.XmlNodeList.
If localName is "*", then it indicates to match any of the local name of the elements. If namespaceURI is "*", then it indicates to match any of the namespace URI of the elements.
Note that it searches the entire descendants, not limited to the children. Also note that it returns only element nodes.
[Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0