AncestorDocOrderIterator AncestorDocOrderIterator AncestorDocOrderIterator AncestorDocOrderIterator Struct

定義

根據 System.Xml.XPath 上階的座標軸規則,逐一查看所有上階節點,並以文件順序傳回節點且不含重複的項目。Iterates over all ancestor nodes according to the System.Xml.XPath ancestor axis rules, and returns the nodes in document order without duplicates.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public value class AncestorDocOrderIterator
public struct AncestorDocOrderIterator
type AncestorDocOrderIterator = struct
Public Structure AncestorDocOrderIterator
繼承
AncestorDocOrderIteratorAncestorDocOrderIteratorAncestorDocOrderIteratorAncestorDocOrderIterator

屬性

Current Current Current Current

傳回目前的結果巡覽器。Returns the current result navigator.

方法

Create(XPathNavigator, XmlNavigatorFilter, Boolean) Create(XPathNavigator, XmlNavigatorFilter, Boolean) Create(XPathNavigator, XmlNavigatorFilter, Boolean) Create(XPathNavigator, XmlNavigatorFilter, Boolean)

初始化 AncestorDocOrderIteratorInitializes the AncestorDocOrderIterator.

MoveNext() MoveNext() MoveNext() MoveNext()

將 Iterator 以文件順序置於下一個上階節點。Positions the iterator on the next ancestor node in document order.

適用於