ConfigurationBuilder.Add(IConfigurationSource) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增組態來源。
public:
virtual Microsoft::Extensions::Configuration::IConfigurationBuilder ^ Add(Microsoft::Extensions::Configuration::IConfigurationSource ^ source);
public Microsoft.Extensions.Configuration.IConfigurationBuilder Add (Microsoft.Extensions.Configuration.IConfigurationSource source);
abstract member Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
override this.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
Public Function Add (source As IConfigurationSource) As IConfigurationBuilder
參數
- source
- IConfigurationSource
要新增的組態來源。