GradientStopCollection.Enumerator 結構

定義

列舉 GradientStopCollection 中的 GradientStop 項目。

public: value class GradientStopCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Windows::Media::GradientStop ^>
public struct GradientStopCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.Media.GradientStop>
type GradientStopCollection.Enumerator = struct
    interface IEnumerator<GradientStop>
    interface IDisposable
    interface IEnumerator
type GradientStopCollection.Enumerator = struct
    interface IEnumerator
    interface IEnumerator<GradientStop>
    interface IDisposable
type GradientStopCollection.Enumerator = struct
    interface IEnumerator<GradientStop>
    interface IEnumerator
    interface IDisposable
Public Structure GradientStopCollection.Enumerator
Implements IEnumerator(Of GradientStop)
繼承
GradientStopCollection.Enumerator
實作

屬性

Current

取得集合中目前的項目。

方法

MoveNext()

將列舉值設為集合中的下一個項目。

Reset()

重設列舉值至初始位置,也就是集合中的第一個項目之前。

明確介面實作

IDisposable.Dispose()

這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。

IEnumerator.Current

這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。

適用於