ImmutableDictionary<TKey,TValue>.Enumerator Estrutura
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Enumera o conteúdo do dicionário imutável sem qualquer alocação de memória.
Pacote NuGet: System.Collections.Immutable (sobre coleções imutáveis e como instalá-las)
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
type ImmutableDictionary<'Key, 'Value>.Enumerator = struct
interface IEnumerator<KeyValuePair<'Key, 'Value>>
interface IDisposable
interface IEnumerator
Public Structure ImmutableDictionary(Of TKey, TValue).Enumerator
Implements IEnumerator(Of KeyValuePair(Of TKey, TValue))
Parâmetros de tipo
- TKey
- TValue
- Herança
- Implementações
Propriedades
| Nome | Description |
|---|---|
| Current |
Obtém o elemento na posição atual do enumerador. |
Métodos
| Nome | Description |
|---|---|
| Dispose() |
Libera os recursos usados pela instância atual da classe ImmutableDictionary<TKey,TValue>.Enumerator. |
| MoveNext() |
Avança o enumerador para o próximo elemento do dicionário imutável. |
| Reset() |
Define o enumerador com sua posição inicial, que é antes do primeiro elemento do dicionário. |
Implantações explícitas de interface
| Nome | Description |
|---|---|
| IEnumerator.Current |
Obtém o elemento atual. |
Aplica-se a
Acesso thread-safe
Este tipo é thread-safe.