共用方式為


WebHostBuilderContext.Configuration 屬性

定義

IConfiguration,其中包含應用程式和 IWebHost 的合併組態。

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

屬性值

適用於