IBaseIterator<TValue>.valid 方法

定义

确定迭代器是否有效并可安全用于遍历基础容器。Determines whether the iterator is valid and can be safely used to traverse the underlying container.

public:
 bool valid();
public bool valid ();
abstract member valid : unit -> bool
Public Function valid () As Boolean

返回

如果迭代器有效并可安全使用,则为 true;否则为 falsetrue if the iterator is valid and safe to use; otherwise, false.

适用于