AncestorIterator.Create(XPathNavigator, XmlNavigatorFilter, Boolean) Metodo

Definizione

Inizializza AncestorIterator.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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)

Parametri

context
XPathNavigator

Nodo dal quale si inizia l'attraversamento dei nodi predecessore.

filter
XmlNavigatorFilter

Istanza della classe XmlNavigatorFilter che consente di filtrare nodi in base al nome. Per altre informazioni, vedere XmlNavigatorFilter.

orSelf
Boolean

true se si desidera il nodo di context venga restituito come una parte dell'iterazione e non venga filtrato.

Si applica a