Model3DCollection.Enumerator 結構

定義

列舉集合中的項目。Enumerates items in a collection.

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

屬性

Current

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

方法

MoveNext()

讓列舉值前進到下一個集合元素。Advances the enumerator to the next element of the collection.

Reset()

將列舉值設定為其初始位置,在集合的第一個元素之前。Sets 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 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 member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

適用於