NameValueFileSectionHandler Classe

Definição

Fornece acesso a um arquivo de configuração.Provides access to a configuration file. Esse tipo dá suporte à infraestrutura de configuração .NET e não se destina diretamente à utilização do seu código.This type supports the .NET configuration infrastructure and is not intended to be used directly from your code.

public ref class NameValueFileSectionHandler : System::Configuration::IConfigurationSectionHandler
public class NameValueFileSectionHandler : System.Configuration.IConfigurationSectionHandler
type NameValueFileSectionHandler = class
    interface IConfigurationSectionHandler
Public Class NameValueFileSectionHandler
Implements IConfigurationSectionHandler
Herança
NameValueFileSectionHandler
Implementações

Comentários

O file atributo da <appSettings> seção especifica um caminho relativo para um arquivo externo que contém definições de configuração de aplicativo personalizadas.The file attribute of the <appSettings> section specifies a relative path to an external file that contains custom application-configuration settings. Os detalhes fornecidos no arquivo atuam como uma <appSettings> seção no arquivo de configuração.The details provided in the file act as an <appSettings> section in the configuration file. O arquivo é acessado usando a NameValueFileSectionHandler classe.The file is accessed using the NameValueFileSectionHandler class. O elemento raiz do arquivo deve corresponder à seção que se refere a ele.The file's root element must match the section referring to it.

Construtores

NameValueFileSectionHandler()

Inicializa uma nova instância da classe NameValueFileSectionHandler.Initializes a new instance of the NameValueFileSectionHandler class.

Métodos

Create(Object, Object, XmlNode)

Cria um novo manipulador de configuração e o adiciona-o à coleção de manipulador de seção com base em parâmetros especificados.Creates a new configuration handler and adds it to the section-handler collection based on the specified parameters.

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)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a

Confira também