HashEnumeratorBase<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>

generic<typename TKey, typename TValue>
public ref class HashEnumeratorBase : IEnumerator

Type Parameters

TKey

The type of the hash iterator key.

TValue

The type of the hash iterator value.

NameDescription
System_CAPS_pubmethodHashEnumeratorBase<TKey, TValue>(INode<TValue>^)

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

NameDescription
System_CAPS_pubpropertyCurrent

Gets or sets the current element in the collection.

NameDescription
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.

System_CAPS_pubmethodReset()

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

System_CAPS_pubmethodToString()

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

.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: