XmlNodeList Class
Assembly: System.Xml (in system.xml.dll)
The XmlNodeList collection is "live"; that is, changes to the children of the node object that it was created from are immediately reflected in the nodes returned by the XmlNodeList properties and methods. XmlNodeList supports iteration and indexed access.
XmlNodeList is returned by the following properties and methods.
-
XmlNode.ChildNodes - Returns an XmlNodeList containing all the children of the node.
-
XmlNode.SelectNodes - Returns an XmlNodeList containing a collection of nodes matching the XPath query.
-
GetElementsByTagName - Returns an XmlNodeList containing a list of all descendant elements that match the specified name. This method is available in both the XmlDocument and XmlElement classes.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.