次の方法で共有


HostBuilderContext.HostingEnvironment プロパティ

定義

IHost によって初期化された IHostEnvironment

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

プロパティ値

適用対象