IHostEnvironment.EnvironmentName Vlastnost

Definice

Získá nebo nastaví název prostředí.Gets or sets the name of the environment. Hostitel tuto vlastnost automaticky nastaví na hodnotu klíče "prostředí", jak je uvedeno v části konfigurace.The host automatically sets this property to the value of the "environment" key as specified in configuration.

public:
 property System::String ^ EnvironmentName { System::String ^ get(); void set(System::String ^ value); };
public string EnvironmentName { get; set; }
member this.EnvironmentName : string with get, set
Public Property EnvironmentName As String

Hodnota vlastnosti

String

Platí pro