Build Component UtilitiesTo Array Method
Convert an XPath node iterator to an array
Definition
Namespace: Sandcastle.Core.BuildAssembler
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
An array with the cloned nodes from the iterator
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static XPathNavigator[] ToArray(
this XPathNodeIterator iterator
)VB
<ExtensionAttribute>
Public Shared Function ToArray (
iterator As XPathNodeIterator
) As XPathNavigator()C++
public:
[ExtensionAttribute]
static array<XPathNavigator^>^ ToArray(
XPathNodeIterator^ iterator
)F#
[<ExtensionAttribute>]
static member ToArray :
iterator : XPathNodeIterator -> XPathNavigator[] Parameters
- iterator XPathNodeIterator
- The XPath iterator to convert to an array
Return Value
XPathNavigatorAn array with the cloned nodes from the iterator