WebHostBuilder.UseSetting(String, String) Método

Definición

Agregue o reemplace un valor en la configuración.

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

Parámetros

key
String

Clave de la configuración que se va a agregar o reemplazar.

value
String

Valor de la configuración que se va a agregar o reemplazar.

Devoluciones

IWebHostBuilder.

Implementaciones

Se aplica a