VectorCollection.Enumerator 结构

定义

枚举 VectorCollection 中的 Vector 项。Enumerates Vector items in a VectorCollection.

public: value class VectorCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Windows::Vector>
public struct VectorCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.Vector>
type VectorCollection.Enumerator = struct
    interface IEnumerator
    interface IEnumerator<Vector>
    interface IDisposable
Public Structure VectorCollection.Enumerator
Implements IEnumerator(Of Vector)
继承
VectorCollection.Enumerator
实现

注解

除非另有说明,此结构成员的行为方式与 IEnumerator 接口所述完全相同。Except where noted, members of this structure behave exactly as described by the IEnumerator interface.

属性

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.

显式接口实现

IDisposable.Dispose()

此类型或成员支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,但不可直接在代码中使用。This type or member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IEnumerator.Current

此类型或成员支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,但不可直接在代码中使用。This type or member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

适用于