TransformCollection.Enumerator 结构

定义

支持对 TransformCollection 执行简单迭代。Supports a simple iteration over a TransformCollection.

public: value class TransformCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Windows::Media::Transform ^>
public struct TransformCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.Media.Transform>
type TransformCollection.Enumerator = struct
    interface IEnumerator<Transform>
    interface IEnumerator
    interface IDisposable
type TransformCollection.Enumerator = struct
    interface IEnumerator<Transform>
    interface IDisposable
    interface IEnumerator
type TransformCollection.Enumerator = struct
    interface IEnumerator
    interface IEnumerator<Transform>
    interface IDisposable
Public Structure TransformCollection.Enumerator
Implements IEnumerator(Of Transform)
继承
TransformCollection.Enumerator
实现

注解

除非另有说明,此结构成员的行为方式与 IEnumerator 接口所述完全相同。Except where noted, members of this structure behave exactly as described by the IEnumerator interface.

属性

Current

获取 TransformCollection 中的当前项。Gets the current item in the TransformCollection.

方法

MoveNext()

将枚举器推进到集合的下一个元素。Advances the enumerator to the next element in the collection.

Reset()

将枚举器重置为其初始位置,即位于 TransformCollection 中第一个项之前。Resets the enumerator to its initial position, which is before the first item in the TransformCollection.

显式接口实现

IDisposable.Dispose()

此类型或成员支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,但不可直接在代码中使用。This type or 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 type or member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

适用于

另请参阅