WebAssemblyHostBuilder.HostEnvironment 属性

定义

获取有关应用的主机环境的信息。

public:
 property Microsoft::AspNetCore::Components::WebAssembly::Hosting::IWebAssemblyHostEnvironment ^ HostEnvironment { Microsoft::AspNetCore::Components::WebAssembly::Hosting::IWebAssemblyHostEnvironment ^ get(); };
public Microsoft.AspNetCore.Components.WebAssembly.Hosting.IWebAssemblyHostEnvironment HostEnvironment { get; }
member this.HostEnvironment : Microsoft.AspNetCore.Components.WebAssembly.Hosting.IWebAssemblyHostEnvironment
Public ReadOnly Property HostEnvironment As IWebAssemblyHostEnvironment

属性值

适用于