ImmutableDictionary<TKey,TValue>.Enumerator 구조체

정의

메모리를 할당하지 않고 변경할 수 없는 사전의 내용을 열거합니다.

NuGet 패키지: System.Collections.Immutable (변경할 수 없는 컬렉션 정보 및 설치 방법)

public: value class ImmutableDictionary<TKey, TValue>::Enumerator : System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<TKey, TValue>>
public struct ImmutableDictionary<TKey,TValue>.Enumerator : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>>
type ImmutableDictionary<'Key, 'Value>.Enumerator = struct
    interface IEnumerator<KeyValuePair<'Key, 'Value>>
    interface IEnumerator
    interface IDisposable
Public Structure ImmutableDictionary(Of TKey, TValue).Enumerator
Implements IEnumerator(Of KeyValuePair(Of TKey, TValue))

형식 매개 변수

TKey
TValue
상속
ImmutableDictionary<TKey,TValue>.Enumerator
구현

속성

Current

열거자의 현재 위치에 있는 요소를 가져옵니다.

메서드

Dispose()

ImmutableDictionary<TKey,TValue>.Enumerator 클래스의 현재 인스턴스에서 사용하는 리소스를 해제합니다.

MoveNext()

열거자를 변경할 수 없는 사전의 다음 요소로 이동합니다.

Reset()

사전의 첫 번째 요소 앞의 초기 위치에 열거자를 설정합니다.

명시적 인터페이스 구현

IEnumerator.Current

현재 요소를 가져옵니다.

적용 대상

스레드 보안

이 형식은 스레드로부터 안전합니다.