Share via


IWebAssemblyHostEnvironment.Environment 属性

定义

获取环境的名称。 这是配置为使用托管 Blazor WebAssembly 应用程序的应用程序的环境。 未由主机指定时配置为“生产”。

public:
 property System::String ^ Environment { System::String ^ get(); };
public string Environment { get; }
member this.Environment : string
Public ReadOnly Property Environment As String

属性值

适用于