Creates an instance of a XmlNodeList that allows enumerating XmlNode elements in the iterator.

Namespace: Mvp.Xml.Common
Assembly: Mvp.Xml (in Mvp.Xml.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function CreateNodeList( _ 
   ByVal iterator As XPathNodeIterator _ 
) As XmlNodeList
C#
public static XmlNodeList CreateNodeList(
   XPathNodeIterator iterator
)
C++
public:
 static XmlNodeList^ CreateNodeList(
   XPathNodeIteratoriterator
)
J#
public static XmlNodeList CreateNodeList(
   XPathNodeIterator iterator
)
JScript
public static  function CreateNodeList(
   iterator : XPathNodeIterator
) : XmlNodeList

Parameters

iterator
The result of a previous node selection through an XPathNavigator query.

Return Value

An initialized list ready to be enumerated.

Remarks

The underlying XML store used to issue the query must be an object inheriting XmlNode, such as XmlDocument.

See Also