XPathPrecedingIterator XPathPrecedingIterator XPathPrecedingIterator XPathPrecedingIterator Struct

定義

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

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

public value class XPathPrecedingIterator
public struct XPathPrecedingIterator
type XPathPrecedingIterator = struct
Public Structure XPathPrecedingIterator
繼承
XPathPrecedingIteratorXPathPrecedingIteratorXPathPrecedingIteratorXPathPrecedingIterator

備註

XPath 先前的軸規則指定不包含祖系, 即使它們在檔順序中的起始節點前面。The XPath preceding axis rules specify that ancestors are not included, even though they precede the starting node in document order.

屬性

Current Current Current Current

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

方法

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

初始化 XPathPrecedingIteratorInitializes the XPathPrecedingIterator.

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

將 Iterator 以反向文件順序置於下一個前置節點。Positions the iterator on the next preceding node in reverse document order.

適用於