ListEnumerator<TValue> Classe
Definição
Dá suporte à iteração simples sobre qualquer objeto STL/CLR que implementa a interface IList<TValue>.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)
Parâmetros de tipo
- TValue
O tipo de um elemento na sequência controlada.The type of an element in the controlled sequence.
- Herança
- Implementações
Comentários
Alguns métodos, principalmente operadores, declaram um tipo para um parâmetro, mas não especificam um nome de parâmetro.Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Esse parâmetro é conhecido como parâmetro sem nome.Such a parameter is known as an unnamed parameter. Na documentação desses métodos, o espaço reservado __unnamed0 representa o parâmetro sem nome.In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.
Construtores
| ListEnumerator<TValue>(INode<TValue>) |
Aloca e inicializa um novo objeto ListEnumerator<TValue>.Allocates and initializes a new ListEnumerator<TValue> object. |
Propriedades
| Current |
Obtém ou define o elemento atual na coleção.Gets or sets the current element in the collection. |
Métodos
| Dispose() |
Libera ou redefine os recursos não gerenciados usados pelo objeto ListEnumerator<TValue>.Frees, releases, or resets unmanaged resources that are used by the ListEnumerator<TValue> object. |
| Dispose(Boolean) |
Libera ou redefine os recursos não gerenciados usados pelo objeto ListEnumerator<TValue>.Frees, releases, or resets unmanaged resources that are used by the ListEnumerator<TValue> object. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| MoveNext() |
Avança o enumerador para o próximo elemento da coleção.Advances the enumerator to the next element in the collection. |
| Reset() |
Define o enumerador com sua posição inicial, que é antes do primeiro elemento da coleção.Sets the enumerator to its initial position, which is before the first element in the collection. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |