BuildComponentUtilitiesToArray Method

Convert an XPath node iterator to an array

Definition

Namespace: Sandcastle.Core.BuildAssembler
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static XPathNavigator[] ToArray(
	this XPathNodeIterator iterator
)

Parameters

iterator  XPathNodeIterator
The XPath iterator to convert to an array

Return Value

XPathNavigator
An array with the cloned nodes from the iterator

Usage Note

In 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).

See Also