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