使用英语阅读

通过


DrawingCollection.Enumerator 结构

定义

重要

一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。

枚举 DrawingCollection 中的 Drawing 项。

C#
public struct DrawingCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.Media.Drawing>
继承
DrawingCollection.Enumerator
实现

属性

Current

获取集合中的当前元素。

方法

MoveNext()

将枚举数前移到集合中的下一个元素。

Reset()

将枚举数重置至其初始位置,即位于集合中第一个元素之前。

显式接口实现

IDisposable.Dispose()

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。

IEnumerator.Current

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。

适用于

产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10