次の方法で共有


IHostApplicationBuilder.Configuration Property

Definition

Gets the set of key/value configuration properties.

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

Property Value

Remarks

This can be mutated by adding more configuration sources, which will update its current view.

Applies to