BuildComponentUtilitiesToArray Method
Convert an XPath node iterator to an array
Namespace: Sandcastle.Core.BuildAssemblerAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static XPathNavigator[] ToArray(
this XPathNodeIterator iterator
)
<ExtensionAttribute>
Public Shared Function ToArray (
iterator As XPathNodeIterator
) As XPathNavigator()
public:
[ExtensionAttribute]
static array<XPathNavigator^>^ ToArray(
XPathNodeIterator^ iterator
)
[<ExtensionAttribute>]
static member ToArray :
iterator : XPathNodeIterator -> XPathNavigator[]
- iterator XPathNodeIterator
- The XPath iterator to convert to an array
XPathNavigatorAn array with the cloned nodes from the iteratorIn Visual Basic and C#, you can call this method as an instance method on any object of type
XPathNodeIterator. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).