HashEnumerator<TKey,TValue> 類別

定義

支援在任何實作 IHash<TKey,TValue> 介面的 STL/CLR 物件上進行簡單的反覆運算。

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)

類型參數

TKey

雜湊 Iterator 索引鍵的型別。

TValue

雜湊 Iterator 值的型別。

繼承
HashEnumerator<TKey,TValue>
實作

備註

某些方法 (特別是運算子) 會宣告參數的類型,但不會指定參數名稱。 這種參數稱為「未命名參數」(Unnamed Parameter)。 在這些方法的檔中, A_0 預留位置代表未命名的參數。

建構函式

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

配置並初始化新的 HashEnumerator<TKey,TValue> 物件。

屬性

Current

取得或設定集合中目前的項目。

方法

Dispose()

釋出、釋放或重設 HashEnumerator<TKey,TValue> 物件所使用的 Unmanaged 資源。

Dispose(Boolean)

釋出、釋放或重設 HashEnumerator<TKey,TValue> 物件所使用的 Unmanaged 資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
MoveNext()

將列舉值設為集合中的下一個項目。

Reset()

設定列舉值至它的初始位置,這是在集合中第一個項目之前。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於