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

属性值

注解

可以通过添加更多配置源来改变此值,这将更新其当前视图。

适用于