共用方式為


WebApplication.Environment 屬性

定義

應用程式的已設定 IWebHostEnvironment

public Microsoft.AspNetCore.Hosting.IWebHostEnvironment Environment { get; }
member this.Environment : Microsoft.AspNetCore.Hosting.IWebHostEnvironment
Public ReadOnly Property Environment As IWebHostEnvironment

屬性值

適用於