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

适用于