PrecedingSiblingDocOrderIterator 结构

定义

按文档顺序循环访问所有前面的同级内容节点。Iterates over all preceding sibling content nodes in document order.

此 API 支持产品基础结构,不能在代码中直接使用。

public value class PrecedingSiblingDocOrderIterator
public struct PrecedingSiblingDocOrderIterator
type PrecedingSiblingDocOrderIterator = struct
Public Structure PrecedingSiblingDocOrderIterator
继承
PrecedingSiblingDocOrderIterator

注解

导航器的更改仅当状态MoveNext方法已返回trueThe state of the navigator changes only if the MoveNext method has returned true.

属性

Current

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

方法

Create(XPathNavigator, XmlNavigatorFilter)

初始化 PrecedingSiblingDocOrderIteratorInitializes the PrecedingSiblingDocOrderIterator.

MoveNext()

将迭代器定位到下一个前面的同级节点。Positions the iterator on the next preceding sibling node.

适用于