DescendantIterator.MoveNext 方法

定义

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

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

public:
 bool MoveNext();
public bool MoveNext ();
member this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean

返回

Boolean

如果存在下一个子代节点,则为 true;否则为 falsetrue if the next descendant node exists; otherwise, false.

注解

如果存在下一个子代节点,则该 MoveNext 方法会将 Current 属性设置为当前结果导航器; 否则,属性将 Current 保持不变。If the next descendant node exists, the MoveNext method sets the Current property to the current result navigator; otherwise, the Current property remains unchanged.

适用于