TextDecorationCollection.Enumerator 结构

定义

枚举 TextDecoration 中的 TextDecoration 项。Enumerates TextDecoration items in a TextDecoration.

public: value class TextDecorationCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Windows::TextDecoration ^>
public struct TextDecorationCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.TextDecoration>
type TextDecorationCollection.Enumerator = struct
    interface IEnumerator
    interface IEnumerator<TextDecoration>
    interface IDisposable
Public Structure TextDecorationCollection.Enumerator
Implements IEnumerator(Of TextDecoration)
继承
TextDecorationCollection.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.

显式界面实现

IDisposable.Dispose()

有关此成员的说明,请参见 Dispose()For a description of this members, see Dispose().

IEnumerator.Current

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

适用于

另请参阅