IConfiguration.Item[String] 屬性

定義

取得或設定組態值。

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

參數

key
String

組態機碼。

屬性值

組態值。

適用於