PathSegmentCollection.Enumerator PathSegmentCollection.Enumerator PathSegmentCollection.Enumerator PathSegmentCollection.Enumerator Struct

定義

支援簡單反覆處理 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.EnumeratorPathSegmentCollection.EnumeratorPathSegmentCollection.EnumeratorPathSegmentCollection.Enumerator
實作

備註

除了另有指定,此結構成員的行為完全如所述IEnumerator介面。Except where noted, members of this structure behave exactly as described by the IEnumerator interface.

屬性

Current Current Current Current

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

方法

MoveNext() MoveNext() MoveNext() MoveNext()

將列舉值設為集合中的下一個項目。Advances the enumerator to the next element in the collection.

Reset() Reset() Reset() Reset()

將列舉值重設至其初始位置,也就是 PathSegmentCollection 中的第一個項目之前。Resets the enumerator to its initial position, which is before the first item in the PathSegmentCollection.

明確介面實作

IEnumerator.Current IEnumerator.Current IEnumerator.Current 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.

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() 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.

適用於

另請參閱