KeyValueConfigurationCollection.Item[String] Propriedade

Definição

Obtém o KeyValueConfigurationElement objeto com base no parâmetro fornecido.

public:
 property System::Configuration::KeyValueConfigurationElement ^ default[System::String ^] { System::Configuration::KeyValueConfigurationElement ^ get(System::String ^ key); };
public System.Configuration.KeyValueConfigurationElement this[string key] { get; }
member this.Item(string) : System.Configuration.KeyValueConfigurationElement
Default Public ReadOnly Property Item(key As String) As KeyValueConfigurationElement

Parâmetros

key
String

A chave contida KeyValueConfigurationElement na coleção.

Valor de Propriedade

Um elemento de configuração, ou null se a chave não existir na coleção.

Observações

Use a Item[] propriedade para obter um KeyValueConfigurationElement objeto na coleção com base no key parâmetro.

Aplica-se a