Model3DCollection.Enumerator Model3DCollection.Enumerator Model3DCollection.Enumerator Model3DCollection.Enumerator Struct

定義

列舉集合中的項目。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
    interface IEnumerator<Model3D>
    interface IDisposable
Public Structure Model3DCollection.Enumerator
Implements IEnumerator(Of Model3D)
繼承
Model3DCollection.EnumeratorModel3DCollection.EnumeratorModel3DCollection.EnumeratorModel3DCollection.Enumerator
實作

屬性

Current Current Current Current

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

方法

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

將列舉值往前推至下集合中的下一個項目。Advances the enumerator to the next element of the collection.

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

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

明確介面實作

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

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

適用於