VisualCollection.Enumerator VisualCollection.Enumerator VisualCollection.Enumerator VisualCollection.Enumerator Struct

定義

列舉 VisualCollection 中的 Visual 項目。Enumerates Visual items in a VisualCollection.

public: value class VisualCollection::Enumerator : System::Collections::IEnumerator
public struct VisualCollection.Enumerator : System.Collections.IEnumerator
type VisualCollection.Enumerator = struct
    interface IEnumerator
Public Structure VisualCollection.Enumerator
Implements IEnumerator
繼承
VisualCollection.EnumeratorVisualCollection.EnumeratorVisualCollection.EnumeratorVisualCollection.Enumerator
實作

屬性

Current Current Current Current

取得集合中目前的項目。Gets the current element in the collection.

方法

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

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

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

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

明確介面實作

IEnumerator.Current IEnumerator.Current IEnumerator.Current IEnumerator.Current

如需這個成員的說明,請參閱 CurrentFor a description of this members, see Current.

適用於