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.

適用於

另請參閱