HashEnumerator<TKey, TValue> Class

 

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

Namespace:   Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

System.Object
  Microsoft.VisualC.StlClr.HashEnumeratorBase<TKey, TValue>
    Microsoft.VisualC.StlClr.HashEnumerator<TKey, TValue>

public class HashEnumerator<TKey, TValue> : HashEnumeratorBase<TKey, TValue>, 
	IEnumerator<TValue>

Type Parameters

TKey

The type of the hash iterator key.

TValue

The type of the hash iterator value.

NameDescription
System_CAPS_pubmethodHashEnumerator<TKey, TValue>(INode<TValue>)

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

NameDescription
System_CAPS_pubpropertyCurrent

Gets or sets the current element in the collection.

NameDescription
System_CAPS_pubmethodDispose()

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

System_CAPS_protmethodDispose(Boolean)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMoveNext()

Advances the enumerator to the next element in the collection.(Overrides HashEnumeratorBase<TKey, TValue>.MoveNext().)

System_CAPS_pubmethodReset()

Sets the enumerator to its initial position, which is before the first element in the collection.(Overrides HashEnumeratorBase<TKey, TValue>.Reset().)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: