Visual3DCollection.Enumerator 結構

定義

列舉 Visual3DCollection 中的 Visual3D 項目。Enumerates Visual3D items in a Visual3DCollection.

public: value class Visual3DCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Windows::Media::Media3D::Visual3D ^>
public struct Visual3DCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.Media.Media3D.Visual3D>
type Visual3DCollection.Enumerator = struct
    interface IEnumerator<Visual3D>
    interface IEnumerator
    interface IDisposable
type Visual3DCollection.Enumerator = struct
    interface IEnumerator<Visual3D>
    interface IDisposable
    interface IEnumerator
Public Structure Visual3DCollection.Enumerator
Implements IEnumerator(Of Visual3D)
繼承
Visual3DCollection.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) 基礎結構,而且不適合直接從程式碼使用。This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IEnumerator.Current

此成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不適合直接從程式碼使用。This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

適用於