ImmutableArray<T>.Enumerator Estrutura
Definição
Um enumerador de matriz.An array enumerator.
Pacote NuGet: System.Collections.Immutable (sobre coleções imutáveis e como instalá-las)NuGet package: System.Collections.Immutable (about immutable collections and how to install)
public: value class ImmutableArray<T>::Enumerator
public struct ImmutableArray<T>.Enumerator
type ImmutableArray<'T>.Enumerator = struct
Public Structure ImmutableArray(Of T).Enumerator
Parâmetros de tipo
- T
- Herança
Comentários
Importante
Este enumerador não deve implementar IDisposable .This enumerator should not implement IDisposable. O iterador deve embutir em um foreach loop e não resultar em um try/finally quadro no cliente.The iterator should inline in a foreach loop and not result in a try/finally frame in the client.
Propriedades
| Current |
Obtém a item atual.Gets the current item. |
Métodos
| MoveNext() |
Avança para o próximo valor na matriz.Advances to the next value in the array. |