次の方法で共有


WebHostBuilderContext.HostingEnvironment プロパティ

定義

IWebHost によって初期化された IWebHostEnvironment

public:
 property Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ HostingEnvironment { Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ get(); void set(Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ value); };
public:
 property Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ HostingEnvironment { Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ get(); void set(Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ value); };
public Microsoft.AspNetCore.Hosting.IHostingEnvironment HostingEnvironment { get; set; }
public Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment { get; set; }
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IHostingEnvironment with get, set
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IWebHostEnvironment with get, set
Public Property HostingEnvironment As IHostingEnvironment
Public Property HostingEnvironment As IWebHostEnvironment

プロパティ値

適用対象