SequencePointCollection.Enumerator 结构
定义
public: value class SequencePointCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Reflection::Metadata::SequencePoint>
public struct SequencePointCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Reflection.Metadata.SequencePoint>
type SequencePointCollection.Enumerator = struct
interface IEnumerator<SequencePoint>
interface IEnumerator
interface IDisposable
Public Structure SequencePointCollection.Enumerator
Implements IEnumerator(Of SequencePoint)
- 继承
- 实现
属性
| Current |
获取集合中位于枚举数当前位置的元素。Gets the element in the collection at the current position of the enumerator. |
方法
| 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() |
执行与释放或重置非托管资源关联的应用程序定义的任务。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| IEnumerator.Current |
获取集合中位于枚举数当前位置的元素。Gets the element in the collection at the current position of the enumerator. |