Returns a node list which contains descendant elements of this document which match the specified name.
- name
- Name of the target elements to find.
System.Xml.XmlNodeList that contains the resulting elements.
It searches such descendant element nodes of this document whose name matches the argument, and returns the list of the matching nodes as an System.Xml.XmlNodeList.
If name is "*", then it indicates to match all of the elements.
Note that it searches the entire descendants, not limited to the children. Also note that it returns only element nodes.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0