PathSegmentCollection.Enumerator 結構

定義

支援簡單反覆處理 PathSegmentCollectionSupports a simple iteration over a PathSegmentCollection.

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

備註

除非另有註明,否則此結構的成員行為與 IEnumerator 介面所描述的行為完全相同。Except where noted, members of this structure behave exactly as described by the IEnumerator interface.

屬性

Current

取得 PathSegmentCollection 中的目前項目。Gets the current item in the PathSegmentCollection.

方法

MoveNext()

將列舉程式前移至集合中的下一個元素。Advances the enumerator to the next element in the collection.

Reset()

將列舉程式重設為其初始位置,亦即 PathSegmentCollection 中第一個項目之前。Resets the enumerator to its initial position, which is before the first item in the PathSegmentCollection.

明確介面實作

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.

適用於

另請參閱