AttributeIterator 结构

定义

循环访问所有特性。Iterates over all the attributes.

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

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

注解

仅当MoveNext方法返回true时, 导航器的状态才会更改。The state of the navigator changes only if the MoveNext method has returned true.

属性

Current

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

方法

Create(XPathNavigator)

初始化 AttributeIteratorInitializes the AttributeIterator.

MoveNext()

将迭代器定位到下一个特性节点。Positions the iterator on the next attribute node.

适用于