次の方法で共有


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

定義

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

public:
 virtual 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
override this.UseSetting : string * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function UseSetting (key As String, value As String) As IWebHostBuilder

パラメーター

key
String

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

value
String

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

戻り値

IWebHostBuilder

実装

適用対象