X509ChainElementEnumerator Classe
Definição
É compatível com uma iteração simples em uma X509ChainElementCollection.Supports a simple iteration over an X509ChainElementCollection. Essa classe não pode ser herdada.This class cannot be inherited.
public ref class X509ChainElementEnumerator sealed : System::Collections::IEnumerator
public sealed class X509ChainElementEnumerator : System.Collections.IEnumerator
type X509ChainElementEnumerator = class
interface IEnumerator
Public NotInheritable Class X509ChainElementEnumerator
Implements IEnumerator
- Herança
-
X509ChainElementEnumerator
- Implementações
Comentários
Os enumeradores fornecem acesso somente leitura aos dados em uma coleção.Enumerators provide read-only access to the data in a collection. Enumeradores não podem ser usados para modificar a coleção subjacente.Enumerators cannot be used to modify the underlying collection.
Inicialmente, o enumerador é posicionado antes do primeiro elemento da coleção.Initially, the enumerator is positioned before the first element in the collection. Reset Redefine o enumerador para essa posição.Reset resets the enumerator to this position. Nesta posição, a chamada Current gera uma exceção.At this position, calling Current throws an exception. Por isso, você deve chamar MoveNext para avançar o enumerador até o primeiro elemento da coleção antes de ler o valor de Current.Therefore, you must call MoveNext to advance the enumerator to the first element of the collection before reading the value of Current.
Essa classe é herdada de IEnumerator .This class inherits from IEnumerator. Consulte a classe para obter mais informações sobre como enumerar em uma coleção.See the class for more information about enumerating over a collection.
Propriedades
| Current |
Obtém o elemento atual no X509ChainElementCollection.Gets the current element in the X509ChainElementCollection. |
Métodos
| 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 na X509ChainElementCollection.Advances the enumerator to the next element in the X509ChainElementCollection. |
| Reset() |
Define o enumerador com sua posição inicial, que é antes do primeiro elemento no X509ChainElementCollection.Sets the enumerator to its initial position, which is before the first element in the X509ChainElementCollection. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
Implantações explícitas de interface
| IEnumerator.Current |
Obtém o elemento atual no X509ChainElementCollection.Gets the current element in the X509ChainElementCollection. |