AncestorDocOrderIterator 结构

定义

根据 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
继承
AncestorDocOrderIterator

属性

Current

返回当前结果导航器。Returns the current result navigator.

方法

Create(XPathNavigator, XmlNavigatorFilter, Boolean)

初始化 AncestorDocOrderIteratorInitializes the AncestorDocOrderIterator.

MoveNext()

按文档顺序将迭代器定位到下一个上级节点。Positions the iterator on the next ancestor node in document order.

适用于