Επεξεργασία

Κοινή χρήση μέσω


HashEnumeratorBase<TKey,TValue> Class

Definition

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

generic <typename TKey, typename TValue>
public ref class HashEnumeratorBase : System::Collections::IEnumerator
public class HashEnumeratorBase<TKey,TValue> : System.Collections.IEnumerator
type HashEnumeratorBase<'Key, 'Value> = class
    interface IEnumerator
Public Class HashEnumeratorBase(Of TKey, TValue)
Implements IEnumerator

Type Parameters

TKey

The type of the hash iterator key.

TValue

The type of the hash iterator value.

Inheritance
HashEnumeratorBase<TKey,TValue>
Derived
Implements

Constructors

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

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

Properties

Current

Gets or sets the current element in the collection.

Methods

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