HashEnumerator<TKey,TValue> HashEnumerator<TKey,TValue> HashEnumerator<TKey,TValue> HashEnumerator<TKey,TValue> Class


Supports simple iteration over any STL/CLR object that implements the IHash<TKey,TValue> interface.

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)

Type Parameters


The type of the hash iterator key.


The type of the hash iterator value.



Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Such a parameter is known as an unnamed parameter. In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.


HashEnumerator<TKey,TValue>(INode<TValue>) HashEnumerator<TKey,TValue>(INode<TValue>) HashEnumerator<TKey,TValue>(INode<TValue>) HashEnumerator<TKey,TValue>(INode<TValue>)

Allocates and initializes a new HashEnumerator<TKey,TValue> object.


Current Current Current Current

Gets or sets the current element in the collection.


Dispose() Dispose() Dispose() Dispose()

Frees, releases, or resets unmanaged resources that are used by the HashEnumerator<TKey,TValue> object.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Frees, releases, or resets unmanaged resources that are used by the HashEnumerator<TKey,TValue> object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveNext() MoveNext() MoveNext() MoveNext()

Advances the enumerator to the next element in the collection.

Reset() Reset() Reset() Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to