KeyValueConfigurationCollection.Item[String] Właściwość

Definicja

KeyValueConfigurationElement Pobiera obiekt na podstawie podanego parametru.

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

Parametry

key
String

Klucz KeyValueConfigurationElement elementu zawartego w kolekcji.

Wartość właściwości

Element konfiguracji lub null jeśli klucz nie istnieje w kolekcji.

Uwagi

Item[] Użyj właściwości , aby pobrać KeyValueConfigurationElement obiekt w kolekcji na podstawie parametru key .

Dotyczy