語言

GradientStopCollection.Enumerator 結構

定義

列舉 GradientStop中的 GradientStopCollection 專案。

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
實作

屬性

名稱 Description
Current

取得集合中的當前元素。

方法

名稱 Description
MoveNext()

將列舉器推進到集合中的下一個元素。

Reset()

將列舉器重設到其初始位置,即集合中第一個元素之前。

明確介面實作

名稱 Description
IDisposable.Dispose()

此類型或成員支援 Windows Presentation Foundation(WPF)基礎架構,並非直接從您的程式碼中使用。

IEnumerator.Current

此類型或成員支援 Windows Presentation Foundation(WPF)基礎架構,並非直接從您的程式碼中使用。

適用於