ListEnumerator<TValue> クラス
定義
IList<TValue> インターフェイスを実装するすべての STL/CLR オブジェクトで、単純なイテレーションをサポートします。Supports simple iteration over any STL/CLR object that implements the IList<TValue> interface.
generic <typename TValue>
public ref class ListEnumerator : Microsoft::VisualC::StlClr::ListEnumeratorBase<TValue>, System::Collections::Generic::IEnumerator<TValue>
public class ListEnumerator<TValue> : Microsoft.VisualC.StlClr.ListEnumeratorBase<TValue>, System.Collections.Generic.IEnumerator<TValue>
type ListEnumerator<'Value> = class
inherit ListEnumeratorBase<'Value>
interface IEnumerator<'Value>
Public Class ListEnumerator(Of TValue)
Inherits ListEnumeratorBase(Of TValue)
Implements IEnumerator(Of TValue)
型パラメーター
- TValue
被制御シーケンス内の要素の型。The type of an element in the controlled sequence.
- 継承
- 実装
注釈
いくつかのメソッド (特に演算子など) では、パラメーター名を特定せずに、パラメーターの型を宣言します。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. これらのメソッドに関するドキュメントでは、 __unnamed0 は無名パラメーターを表すプレースホルダーです。In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.
コンストラクター
ListEnumerator<TValue>(INode<TValue>) |
新しい ListEnumerator<TValue> オブジェクトを割り当て、初期化します。Allocates and initializes a new ListEnumerator<TValue> object. |
プロパティ
Current |
コレクション内の現在の要素を取得または設定します。Gets or sets the current element in the collection. |
メソッド
Dispose() |
ListEnumerator<TValue> オブジェクトによって使用されているアンマネージ リソースを解放、リリース、または再設定します。Frees, releases, or resets unmanaged resources that are used by the ListEnumerator<TValue> object. |
Dispose(Boolean) |
ListEnumerator<TValue> オブジェクトによって使用されているアンマネージ リソースを解放、リリース、または再設定します。Frees, releases, or resets unmanaged resources that are used by the ListEnumerator<TValue> object. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 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. (継承元 Object) |