VisualCollection.Enumerator 结构

定义

枚举 VisualCollection 中的 Visual 项。Enumerates Visual items in a VisualCollection.

public: value class VisualCollection::Enumerator : System::Collections::IEnumerator
public struct VisualCollection.Enumerator : System.Collections.IEnumerator
type VisualCollection.Enumerator = struct
    interface IEnumerator
Public Structure VisualCollection.Enumerator
Implements IEnumerator
继承
VisualCollection.Enumerator
实现

属性

Current

获取集合中的当前元素。Gets the current element in the collection.

方法

MoveNext()

将枚举器推进到集合的下一个元素。Advances the enumerator to the next element in the collection.

Reset()

将枚举数重置至其初始位置,即位于集合中第一个元素之前。Resets the enumerator to its initial position, which is before the first element in the collection.

显式界面实现

IEnumerator.Current

有关此成员的说明,请参见 CurrentFor a description of this members, see Current.

适用于