ConfigurationRoot.Item[String] Propriété

Définition

Obtient ou définit la valeur correspondant à une clé de configuration.

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); void set(System::String ^ key, System::String ^ value); };
public string this[string key] { get; set; }
public string? this[string key] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(key As String) As String

Paramètres

key
String

Clé de configuration.

Valeur de propriété

Valeur de configuration.

Implémente

S’applique à