HashEnumerator<TKey,TValue> 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
支持对实现 IHash<TKey,TValue> 接口的任何 STL/CLR 对象执行简单迭代。
generic <typename TKey, typename TValue>
public ref class HashEnumerator : Microsoft::VisualC::StlClr::HashEnumeratorBase<TKey, TValue>, System::Collections::Generic::IEnumerator<TValue>
	public class HashEnumerator<TKey,TValue> : Microsoft.VisualC.StlClr.HashEnumeratorBase<TKey,TValue>, System.Collections.Generic.IEnumerator<TValue>
	type HashEnumerator<'Key, 'Value> = class
    inherit HashEnumeratorBase<'Key, 'Value>
    interface IEnumerator<'Value>
	Public Class HashEnumerator(Of TKey, TValue)
Inherits HashEnumeratorBase(Of TKey, TValue)
Implements IEnumerator(Of TValue)
    类型参数
- TKey
 
哈希迭代器键的类型。
- TValue
 
哈希迭代器值的类型。
- 继承
 
- 实现
 
注解
有些方法(尤其是运算符)声明参数的类型,但不指定参数名称。 此类参数称为“未命名参数”。 在这些方法的文档中, A_0 占位符表示未命名的参数。
构造函数
| HashEnumerator<TKey,TValue>(INode<TValue>) | 
		 分配并初始化新的 HashEnumerator<TKey,TValue> 对象。  | 
        	
属性
| Current | 
		 获取或设置集合中的当前元素。  | 
        	
方法
| Dispose() | 
		 释放或重置 HashEnumerator<TKey,TValue> 对象使用的非托管资源。  | 
        	
| Dispose(Boolean) | 
		 释放或重置 HashEnumerator<TKey,TValue> 对象使用的非托管资源。  | 
        	
| Equals(Object) | 
		 确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| GetHashCode() | 
		 作为默认哈希函数。 (继承自 Object) | 
        	
| GetType() | 
		 获取当前实例的 Type。 (继承自 Object) | 
        	
| MemberwiseClone() | 
		 创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| MoveNext() | 
		 将枚举数前移到集合中的下一个元素。  | 
        	
| Reset() | 
		 将枚举数设置为其初始位置,该位置位于集合中第一个元素之前。  | 
        	
| ToString() | 
		 返回表示当前对象的字符串。 (继承自 Object) |