共用方式為


IHostApplicationBuilder.Configuration 屬性

定義

取得索引鍵/值組態屬性的集合。

public:
 property Microsoft::Extensions::Configuration::IConfigurationManager ^ Configuration { Microsoft::Extensions::Configuration::IConfigurationManager ^ get(); };
public Microsoft.Extensions.Configuration.IConfigurationManager Configuration { get; }
member this.Configuration : Microsoft.Extensions.Configuration.IConfigurationManager
Public ReadOnly Property Configuration As IConfigurationManager

屬性值

備註

您可以藉由新增更多組態來源來變動此值,以更新其目前的檢視。

適用於