TreeEnumerator<TKey,TValue> クラス

定義

ITree<TKey,TValue> インターフェイスを実装する STL/CLR オブジェクトに対する単純な反復処理をサポートします。

generic <typename TKey, typename TValue>
public ref class TreeEnumerator : Microsoft::VisualC::StlClr::TreeEnumeratorBase<TKey, TValue>, System::Collections::Generic::IEnumerator<TValue>
public class TreeEnumerator<TKey,TValue> : Microsoft.VisualC.StlClr.TreeEnumeratorBase<TKey,TValue>, System.Collections.Generic.IEnumerator<TValue>
type TreeEnumerator<'Key, 'Value> = class
    inherit TreeEnumeratorBase<'Key, 'Value>
    interface IEnumerator<'Value>
Public Class TreeEnumerator(Of TKey, TValue)
Inherits TreeEnumeratorBase(Of TKey, TValue)
Implements IEnumerator(Of TValue)

型パラメーター

TKey

制御シーケンス内の要素のキー コンポーネントの型。

TValue

制御シーケンス内の要素の値コンポーネントの型。

継承
TreeEnumerator<TKey,TValue>
実装

注釈

一部のメソッド (特に演算子) では、パラメーターの型を宣言しますが、パラメーター名は指定しません。 このようなパラメーターは、 名前のないパラメーターと呼ばれます。 これらのメソッドのドキュメントでは、 A_0 プレースホルダーは名前のないパラメーターを表します。

コンストラクター

名前 説明
TreeEnumerator<TKey,TValue>(INode<TValue>)

新しい TreeEnumerator<TKey,TValue> オブジェクトを割り当てて初期化します。

プロパティ

名前 説明
Current

コレクション内の現在の要素を取得または設定します。

メソッド

名前 説明
Dispose()

TreeEnumerator<TKey,TValue> オブジェクトによって使用されるアンマネージ リソースを解放、解放、またはリセットします。

Dispose(Boolean)

TreeEnumerator<TKey,TValue> オブジェクトによって使用されるアンマネージ リソースを解放、解放、またはリセットします。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
MoveNext()

列挙子をコレクション内の次の要素に進めます。

Reset()

列挙子を最初の位置 (コレクション内の最初の要素の前) に設定します。

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象