AncestorIterator AncestorIterator AncestorIterator AncestorIterator Struct

定義

根據 System.Xml.XPath 上階的座標軸規則,逐一查看所有上階節點,並以反向文件順序傳回節點。Iterates over all ancestor nodes according to the System.Xml.XPath ancestor axis rules, and returns the nodes in reverse document order.

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

public value class AncestorIterator
public struct AncestorIterator
type AncestorIterator = struct
Public Structure AncestorIterator
繼承
AncestorIteratorAncestorIteratorAncestorIteratorAncestorIterator

屬性

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)

初始化 AncestorIteratorInitializes the AncestorIterator.

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

將 Iterator 置於下一個上階節點。Positions the iterator on the next ancestor node.

適用於