PathSegmentCollection.Enumerator 结构

定义

支持对 PathSegmentCollection 执行简单迭代。Supports a simple iteration over a PathSegmentCollection.

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

注解

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

属性

Current

获取 PathSegmentCollection 中的当前项。Gets the current item in the PathSegmentCollection.

方法

MoveNext()

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

Reset()

将枚举器重置为其初始位置,即位于 PathSegmentCollection 中第一个项之前。Resets the enumerator to its initial position, which is before the first item in the PathSegmentCollection.

显式界面实现

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.

适用于

另请参阅