共用方式為


HostApplicationBuilder.Configuration 屬性

定義

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

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

屬性值

備註

您可以藉由新增更多組態來源來變更屬性集,以更新其目前檢視。

適用於