ConfigurationElementInterceptor.OnDeserializeUnrecognizedAttribute(String, String) Método

Definição

Obtém um valor que indica se um atributo desconhecido é encontrado durante a desserialização.Gets a value that indicates whether an unknown attribute is encountered during deserialization. Sempre retorna true.Always returns true.

protected:
 override bool OnDeserializeUnrecognizedAttribute(System::String ^ name, System::String ^ value);
protected override bool OnDeserializeUnrecognizedAttribute (string name, string value);
override this.OnDeserializeUnrecognizedAttribute : string * string -> bool
Protected Overrides Function OnDeserializeUnrecognizedAttribute (name As String, value As String) As Boolean

Parâmetros

name
String

O nome do atributo não reconhecido.The name of the unrecognized attribute.

value
String

O valor do atributo não reconhecido.The value of the unrecognized attribute.

Retornos

Boolean

Sempre retorna true, que indica que um atributo não reconhecido foi encontrado.Always returns true, which indicates that an unrecognized attribute has been encountered.

Comentários

A ConfigurationElementInterceptor classe é implementada especificamente para manipular atributos e elementos arbitrários e definidos pelo usuário.The ConfigurationElementInterceptor class is specifically implemented to handle arbitrary, user-defined attributes and elements. Por esse motivo, esse método retorna true quando o .NET Framework detecta um elemento ou atributo não reconhecido para manter o analisador em execução.For this reason, this method returns true when the .NET Framework detects an unrecognized element or attribute to keep the parser running.

Aplica-se a