PointCollection.Enumerator 結構

定義

列舉 PointCollection 中的 Point 項目。Enumerates Point items in a PointCollection.

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

這個類型或成員支援 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.

適用於

另請參閱