HashEnumerator<TKey,TValue> Class

Definition

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

public class HashEnumerator<TKey,TValue> : Microsoft.VisualC.StlClr.HashEnumeratorBase<TKey,TValue>, System.Collections.Generic.IEnumerator<TValue>

Type Parameters

TKey

The type of the hash iterator key.

TValue

The type of the hash iterator value.

Inheritance
HashEnumerator<TKey,TValue>
Implements

Remarks

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 A_0 placeholder represents the unnamed parameter.

Constructors

Properties

Current

Gets or sets the current element in the collection.

Methods

Dispose()

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

Dispose(Boolean)

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveNext()

Advances the enumerator to the next element in the collection.

Reset()

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET Framework 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