共用方式為


HostBuilderContext.Configuration 屬性

定義

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

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

屬性值

適用於