แก้ไข

แชร์ผ่าน


AncestorIterator.Create(XPathNavigator, XmlNavigatorFilter, Boolean) Method

Definition

Initializes the AncestorIterator.

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

public:
 void Create(System::Xml::XPath::XPathNavigator ^ context, System::Xml::Xsl::Runtime::XmlNavigatorFilter ^ filter, bool orSelf);
public void Create (System.Xml.XPath.XPathNavigator context, 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 (context As XPathNavigator, filter As XmlNavigatorFilter, orSelf As Boolean)

Parameters

context
XPathNavigator

The node from which you start traversing ancestors.

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

true if you want the context node to be returned as a part of the iteration and not filtered out.

Applies to