XPathPrecedingIterator 结构
定义
根据 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
- 继承
注解
XPath 前面的轴规则指定不包含祖先,即使它们按文档顺序在开始节点之前。The XPath preceding axis rules specify that ancestors are not included, even though they precede the starting node in document order.
属性
| Current |
此 API 支持产品基础结构,不能在代码中直接使用。 返回当前结果导航器。Returns the current result navigator. |
方法
| Create(XPathNavigator, XmlNavigatorFilter) |
此 API 支持产品基础结构,不能在代码中直接使用。 初始化 XPathPrecedingIterator。Initializes the XPathPrecedingIterator. |
| MoveNext() |
此 API 支持产品基础结构,不能在代码中直接使用。 按相反的文档顺序将迭代器定位到下一个前面的节点。Positions the iterator on the next preceding node in reverse document order. |