次の方法で共有


IWebHostBuilder.UseSetting(String, String) メソッド

定義

構成の設定を追加または置き換えます。

public:
 Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseSetting(System::String ^ key, System::String ^ value);
public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSetting (string key, string value);
public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSetting (string key, string? value);
abstract member UseSetting : string * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function UseSetting (key As String, value As String) As IWebHostBuilder

パラメーター

key
String

追加または置換する設定のキー。

value
String

追加または置換する設定の値。

戻り値

IWebHostBuilder

適用対象