Edit

Bagikan melalui


DescendantIterator.Create(XPathNavigator, XmlNavigatorFilter, Boolean) Method

Definition

Initializes the DescendantIterator.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void Create(System::Xml::XPath::XPathNavigator ^ input, System::Xml::Xsl::Runtime::XmlNavigatorFilter ^ filter, bool orSelf);
public void Create (System.Xml.XPath.XPathNavigator input, System.Xml.Xsl.Runtime.XmlNavigatorFilter filter, bool orSelf);
member this.Create : System.Xml.XPath.XPathNavigator * System.Xml.Xsl.Runtime.XmlNavigatorFilter * bool -> unit
Public Sub Create (input As XPathNavigator, filter As XmlNavigatorFilter, orSelf As Boolean)

Parameters

input
XPathNavigator

XPathNavigator that identifies the node from which you start traversing descendants.

filter
XmlNavigatorFilter

An instance of the XmlNavigatorFilter class, which enables you to filter nodes based on the name. For more information, see XmlNavigatorFilter.

orSelf
Boolean

Boolean that indicates whether the current node is returned as part of the iteration or filtered out.

Remarks

The DescendantIterator cannot have duplicates.

Applies to