IWebHostBuilder.UseSetting(String, String) IWebHostBuilder.UseSetting(String, String) IWebHostBuilder.UseSetting(String, String) Method

Definition

Add or replace a setting in the configuration.

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
Parameters
key
String String String

The key of the setting to add or replace.

value
String String String

The value of the setting to add or replace.

Returns

Applies to